Skip to contents

Count clusters on each chromosome

Usage

countClusters(treeListClusters)

# S4 method for epiclustDiscreteList
countClusters(treeListClusters)

# S4 method for epiclustDiscreteListContain
countClusters(treeListClusters)

Arguments

treeListClusters

from createClusters()

Value

count number of clusters on each chromsome

Examples

library(GenomicRanges)

data('decorateData')

# Evaluate hierarchical clustering
treeList = runOrderedClusteringGenome( simData, simLocation ) 
#> 
Evaluating:chr20          
#> 

# Choose cutoffs and return clusters
treeListClusters = createClusters( treeList )
#> Method:capushe

# Count clusters on each chromsome
countClusters( treeListClusters )
#> [1] 1