shapeCluster | R Documentation |
Calculates core promoter shape based on the distributions of TSSs within core promoters using Shape Index (SI) algorithm (Hoskins et al. 2011) or Promoter Shape Score (PSS) algorithm (Lu et al. 2019).
shapeCluster(object, clusters = "consensusClusters", method = "PSS",
useMultiCore=FALSE, numCores = NULL)
## S4 method for signature 'TSSr'
shapeCluster(
object,
clusters = "consensusClusters",
method = "PSS",
useMultiCore = FALSE,
numCores = NULL
)
object |
A TSSr object. |
clusters |
Clusters to be used for calculating shape score: "tagClusters" or "consensusClusters". Default is "consensusClusters". |
method |
Method to be used for calculating core promoter shape score: "SI" or "PSS". Default is "PSS". |
useMultiCore |
Logical indicating whether multiple cores are used (TRUE) or not (FALSE). Default is FALSE. |
numCores |
Number of cores are used in clustering step. Used only if useMultiCore = TRUE. Default is NULL. |
Large List of elements - one element for each sample
data(exampleTSSr)
#shapeCluster(exampleTSSr,clusters = "consensusClusters" , method = "PSS")
#shapeCluster(exampleTSSr,clusters = "tagClusters" , method = "SI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.