aggregateRegionCounts,DsATAC-method | R Documentation |
Agregate counts across a set of regions, e.g. for footprinting analysis
## S4 method for signature 'DsATAC'
aggregateRegionCounts(
.object,
regionGr,
samples = getSamples(.object),
countAggrFun = "sum",
norm = "tailMean",
normTailW = 0.1,
kmerBiasAdj = TRUE,
k = 6,
sampleCovg = NULL,
sampleKmerFreqM = NULL,
regionKmerFreqM = NULL,
silent = FALSE
)
.object |
|
regionGr |
|
samples |
sample identifiers |
countAggrFun |
aggration function to be used for summarizing the insertion counts at each position. Possible values include |
norm |
method used for normalizing the resulting position-wise counts.
Currently only |
normTailW |
fraction of the region window to be used on each side of the window to be used for normalization if |
kmerBiasAdj |
compute Tn5 bias and use it to adjust the counts as in Corces, et al., Science, (2018) |
k |
length of the kmer to be used for sequence bias correction. Only relevant if |
sampleCovg |
to save compute time, a sample coverage track list (as computed by |
sampleKmerFreqM |
to save compute time, a matrix of sample kmer frequency at insertion sites (as computed by |
regionKmerFreqM |
to save compute time, a matrix of region kmer frequencies (kmers X window width).
Must have the same number of rows as the specified (or computed) |
silent |
limit log messages |
a data.frame
containing position-wise counts (raw, normalized and optionally Tn5-bias-corrected) for each sample
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.