Wrapper function to run fragtk qc and add the metadata to the Seurat
object.
ATACqc(object, ...)
# Default S3 method
ATACqc(
object,
annotations,
fragtk.path = NULL,
outdir = tempdir(),
cleanup = TRUE,
verbose = TRUE,
...
)
# S3 method for class 'ChromatinAssay'
ATACqc(
object,
annotations = NULL,
fragtk.path = NULL,
outdir = tempdir(),
cleanup = TRUE,
verbose = TRUE,
...
)
# S3 method for class 'Seurat'
ATACqc(
object,
assay = NULL,
annotations = NULL,
fragtk.path = NULL,
outdir = tempdir(),
cleanup = TRUE,
verbose = TRUE,
...
)A Seurat object, ChromatinAssay object, or path to a fragment file.
Arguments passed to other methods
GenomicRanges::GRanges() object containing
gene annotations. If NULL, attempt to extract this from the ChromatinAssay
object if provided.
Path to fragtk executable. If NULL, try to find fragtk automatically.
Path for output directory
Remove output files created by fragtk
Display messages
Name of assay to use. If NULL, use the default assay.