countClusters | R Documentation |

Count clusters on each chromosome

```
countClusters(treeListClusters)
## S4 method for signature 'epiclustDiscreteList'
countClusters(treeListClusters)
## S4 method for signature 'epiclustDiscreteListContain'
countClusters(treeListClusters)
```

`treeListClusters` |
from createClusters() |

count number of clusters on each chromsome

```
library(GenomicRanges)
data('decorateData')
# Evaluate hierarchical clustering
treeList = runOrderedClusteringGenome( simData, simLocation )
# Choose cutoffs and return clusters
treeListClusters = createClusters( treeList )
# Count clusters on each chromsome
countClusters( treeListClusters )
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.