Calculate common scATAC QC metrics and optionally filter cells by thresholds.
Usage
RunATACQC(
srt,
assay = NULL,
tss.positions = NULL,
blacklist = NULL,
fast = TRUE,
min_pct_reads_in_peaks = NULL,
min_TSS_enrichment = NULL,
max_nucleosome_signal = NULL,
max_blacklist_ratio = NULL,
verbose = TRUE
)Arguments
- srt
A Seurat object.
- assay
Which assay to use. If
NULL, the default assay of the Seurat object will be used. When the object also containsChromatinAssay, the default assay and additionalChromatinAssaywill be preprocessed sequentially.- tss.positions
TSS positions passed to
Signac::TSSEnrichment.- blacklist
A
GRangesblacklist used to computeblacklist_ratio.- fast
Whether to use the fast mode in
Signac::TSSEnrichment.- min_pct_reads_in_peaks, min_TSS_enrichment, max_nucleosome_signal, max_blacklist_ratio
Optional thresholds used for filtering cells.
- verbose
Whether to print the message. Default is
TRUE.