getQuickTssEnrichment-DsATAC-method.Rd
[Experimental] Quick, heuristic version of TSS enrichment to just get scores for each sample in the dataset. Useful, e.g. for single cells.
# S4 method for DsATAC
getQuickTssEnrichment(
.object,
tssGr = NULL,
sampleIds = getSamples(.object),
tssW = 201L,
distBg = 1900L
)
DsATAC
object
GRanges
object containing TSS coordinates
sampleIds for which TSS enrichment should be computed
width to consider arount the TSS
number of bases flanking each TSS that will be added on each side
a vector of TSS enrichment values for each sample/cell in the dataset
Computes TSS enrichment
as the ratio of total insertion sites at a window (of width tssW
bp) directly at the TSS and 2 background regions
symmetrically located (distBg
bp) upstream and downstream of the TSS