quantilePositions(object, clusters, qLow = 0.1, qUp = 0.9, useMulticore = FALSE, nrCores = NULL)
CAGEset
object
"tagClusters"
to calculate positions of quantiles in tag clusters (different set of genomic coordinates for every CAGE experiment) or "consensusClusters"
to calculate positions of quantiles in consensus clusters (same set of genomic coordinates for every CAGE experiment).
useMulticore = TRUE
is supported only on Unix-like platforms.
useMulticore = TRUE
. Default value NULL
uses all detected cores.
clusters = "tagClusters"
, the slots tagClustersQuantileLow
and tagClustersQuantileUp
of the provided CAGEset
object will be occupied with the positions of specified quantiles in all tag clusters for all CAGE datasets. When clusters = "consensusClusters"
the slots consensusClustersQuantileLow
and consensusClustersQuantileUp
will be occupied by the corresponding information for consensus clusters.
qLow
is defined as a point that divides the genomic region into two parts, so that the 5' part contains < qLow * 100%
of the CAGE signal of that region. Accordingly, position of the "upper" quantile qUp
is defined as a point that divides the genomic region into two parts so that the 5' part contains >= qUp * 100%
of the CAGE signal of that region. Positions of one "lower" and one "upper" quantile (when qLow <= qup<="" code="">) define a central part of the genomic region that contains >= (qUp - qLow) * 100%
of the CAGE signal of that region. Width of that central part is refered to as "interquantile width", which is a more robust measure of the promoter width than the total span of the region.
=>
load(system.file("data", "exampleCAGEset.RData", package="CAGEr"))
quantilePositions(object = exampleCAGEset, clusters = "tagClusters",
qLow = c(0.1,0.2), qUp = c(0.8,0.9))
Run the code above in your browser using DataLab