Wrapper function to run fragtk matrix and return the output as a sparse
matrix in R.
Usage
RunFragtk(
fragments,
features,
cells,
group = FALSE,
pic = TRUE,
fragtk.path = NULL,
outdir = tempdir(),
cleanup = TRUE,
verbose = TRUE
)Arguments
- fragments
A list of Fragment objects or fragment file paths
- features
A GRanges object containing a set of genomic intervals to quantify. These genomic ranges will be passed to the
--bedargument infragtk matrix- cells
List of cells to include
- group
Group genomic ranges according to a grouping variable. If NULL, no grouping variable is used. If a character string is provided, this should match a column in the provided GRanges object supplied in the
featuresparameter.- pic
Use paired insertion counting
- fragtk.path
Path to fragtk executable. If NULL, try to find fragtk automatically.
- outdir
Path for output directory
- cleanup
Remove output files created by fragtk
- verbose
Display messages
Details
See https://crates.io/crates/fragtk for fragtk documentation.