getQuickTssEnrichment,DsATAC-method | R Documentation |
[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 signature 'DsATAC'
getQuickTssEnrichment(
.object,
tssGr = NULL,
sampleIds = getSamples(.object),
tssW = 201L,
distBg = 1900L
)
.object |
|
tssGr |
|
sampleIds |
sampleIds for which TSS enrichment should be computed |
tssW |
width to consider arount the TSS |
distBg |
number of bases flanking each TSS that will be added on each side |
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
a vector of TSS enrichment values for each sample/cell in the dataset
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.