View source: R/local_correlations.R
filterClusters | R Documentation |
Extract subset of clusters based on entries in chroms and clusters
filterClusters(treeListClusters, clustInclude)
treeListClusters |
from createClusters() |
clustInclude |
data.frame from retainClusters() indcating which clusters to include |
epiclustDiscreteList of specified clusters
library(GenomicRanges)
library(BiocParallel)
data('decorateData')
# Evaluate hierarchical clustering
treeList = runOrderedClusteringGenome( simData, simLocation )
# Choose cutoffs and return clusters
treeListClusters = createClusters( treeList )
# Evaluate score for each cluster
clstScore = scoreClusters(treeList, treeListClusters, BPPARAM=SerialParam() )
# Retain clusters that pass this criteria
clustInclude = retainClusters( clstScore, "LEF", 0.30 )
# get retained clusters
treeListClusters_filter = filterClusters( treeListClusters, clustInclude)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.