View source: R/extractCorrelationScores.R
getClusterNames | R Documentation |
Get name of each cluster as parameter:chrom:cluster
getClusterNames(clustList)
clustList |
list of cluster assignments |
array of cluster names
library(GenomicRanges)
# load data
data('decorateData')
# Evaluate hierarchical clustering
# adjacentCount is the number of adjacent peaks considered in correlation
treeList = runOrderedClusteringGenome( simData, simLocation)
# Choose cutoffs and return cluster
treeListClusters = createClusters( treeList, method = "meanClusterSize", meanClusterSize=c( 10, 20, 30, 40, 50) )
# Name of each cluster is parameter:chrom:cluster
getClusterNames( treeListClusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.