getClusterNames: Get name of each cluster

View source: R/extractCorrelationScores.R

getClusterNamesR Documentation

Get name of each cluster

Description

Get name of each cluster as parameter:chrom:cluster

Usage

getClusterNames(clustList)

Arguments

clustList

list of cluster assignments

Value

array of cluster names

Examples

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)


GabrielHoffman/decorate documentation built on May 23, 2023, 1:29 a.m.