Description Usage Arguments Value Examples
Function that calculates position of quantiles for CTSS clusters based on distribution of tpm within the cluster
1 | .get.quant.pos(cumsums, clusters, q)
|
cumsums |
Named list of vectors containing cumulative sum for each cluster (returned by 'get.cumsum' function). |
clusters |
GRanges object representing tag clusters or consensus clusters. |
q |
desired quantiles - single value or a vector of values. |
Returns the clusters
object with one more metadata column per value
in q
, containing Rle integers giving the relative distance of the quantile
boundaries to the start position.
1 2 3 4 5 6 | ## Not run: #because it runs through quantilePositions() anyway.
cumsums <- CTSScumulativesTagClusters(object, 1)
clusters <- tagClustersGR(object, 1)
.get.quant.pos(cumsums, clusters, c(.1, .9))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.