getFeaturesInCluster: Get feature names in selected cluster

View source: R/local_correlations.R

getFeaturesInClusterR Documentation

Get feature names in selected cluster

Description

Get feature names in selected cluster given chrom and clusterid

Usage

getFeaturesInCluster(treeListClusters, chrom, clustID, id)

Arguments

treeListClusters

from createClusters()

chrom

chromosome name of cluster

clustID

cluster identifier

id

clustering parameter identifier

Value

array of feature names

Examples

library(GenomicRanges)

data('decorateData')

# Evaluate hierarchical clustering
treeList = runOrderedClusteringGenome( simData, simLocation ) 

# Choose cutoffs and return clusters
treeListClusters = createClusters( treeList, method='meanClusterSize', meanClusterSize = 50 )

# Find chromsome and cluster of peak_204
getFeaturesInCluster( treeListClusters, "chr20", 3, "50")


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