View source: R/extractCorrelationScores.R
getClusterRanges | R Documentation |
Get genome coordinates for each cluster as a GRanges object
getClusterRanges(gRanges, clustList, verbose = TRUE)
gRanges |
GenomciRanges corresponding to the rows of epiSignal |
clustList |
list of cluster assignments |
verbose |
write messages to screen |
GRanges object
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) )
# Get start and end coordinates for each cluster
# cluster name is parameter:chrom:cluster
getClusterRanges( simLocation, treeListClusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.