Description Usage Arguments Details Value Author(s) See Also Examples
Aggregates tag clusters (TCs) across all CAGE dataset within the CAGEset object to create a referent set of consensus clusters.
1 2 3 | aggregateTagClusters(object, tpmThreshold = 5,
excludeSignalBelowThreshold = TRUE,
qLow = NULL, qUp = NULL, maxDist = 100)
|
object |
A |
tpmThreshold |
Only tag clusteres with normalized signal |
excludeSignalBelowThreshold |
When |
qLow |
Position of which "lower" quantile should be used as 5' boundary of the tag cluster. If |
qUp |
Position of which "upper" quantile should be used as 3' boundary of the tag cluster. If |
maxDist |
Maximal length of the gap (in base-pairs) between two tag clusters for them to be part of the same consensus clusters. See Details. |
Tag clusters (TCs) returned by clusterCTSS
function are constructed for every CAGE dataset within CAGEset object separatelly, based on the CAGE signal in that sample. Thus, TCs from two CAGE datasets can differ both in their number, genomic coordinates, position of dominant TSS and overall signal. To be able to compare all samples at the level of clusters of TSSs, TCs from all CAGE datasets are aggregated into a single set of consensus clusters. First, TCs with signal >= tpmThreshold
from all CAGE datasets are selected, and their 5' and 3' boundaries are determined based on provided qLow
and qUp
parameters. If qLow = NULL
and qUp = NULL
the start and end coordinates, i.e. the full span of the TC is used, otherwise the positions of qLow
and qUp
quantiles are used as 5' and 3' boundary, respectively. Finally, the defined set of TCs from all CAGE datasets is reduced to a non-overlapping set of consensus clusters by merging overlapping TCs and TCs <= maxDist
base-pairs apart. Consensus clusters represent a referent set of promoters that can be further used for expression profiling or detecting "shifting" (differentially used) promoters between different CAGE samples.
The slots consensusClusters
, tagClustersInConsensusClusters
and consensusClustersTpmMatrix
of the provided CAGEset
object will be occupied by the genomic coordinates of consensus clusters, information on containing TCs and the total CAGE signal across all CAGE datasets, respectively.
Vanja Haberle
1 2 3 4 | load(system.file("data", "exampleCAGEset.RData", package="CAGEr"))
aggregateTagClusters(object = exampleCAGEset, tpmThreshold = 50,
excludeSignalBelowThreshold = FALSE, qLow = 0.1, qUp = 0.9, maxDist = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.