Identify mitochondrial variants present in single cells.
IdentifyVariants(object, ...)
# S3 method for default
IdentifyVariants(
object,
refallele,
stabilize_variance = TRUE,
low_coverage_threshold = 10,
verbose = TRUE,
...
)
# S3 method for Assay
IdentifyVariants(object, refallele, ...)
# S3 method for Seurat
IdentifyVariants(object, refallele, assay = NULL, ...)
A Seurat object
Arguments passed to other methods
A dataframe containing reference alleles for the mitochondrial genome.
Stabilize variance
Low coverage threshold
Display messages
Name of assay to use. If NULL, use the default assay.
Returns a dataframe
if (FALSE) {
data.dir <- "path/to/data/directory"
mgatk <- ReadMGATK(dir = data.dir)
variant.df <- IdentifyVariants(
object = mgatk$counts,
refallele = mgatk$refallele
)
}