citrus.getRelatedClusterIds | R Documentation |
Get ancestors or decendants of a cluster for hierarchical clustering
citrus.getClusterDecendants(clusterId, mergeOrder)
citrus.getClusterAncestors(clusterId, mergeOrder)
clusterId |
ID of a cluster for which to retreive related clusters. |
mergeOrder |
|
Vector of cluster ids that are decendants of clusterId
argument.
Robert Bruggner
# Where the data lives
dataDirectory = file.path(system.file(package = "citrus"),"extdata","example1")
# Create list of files to be analyzed
fileList = data.frame("unstim"=list.files(dataDirectory,pattern=".fcs"))
# Read the data
citrus.combinedFCSSet = citrus.readFCSSet(dataDirectory,fileList)
# List of columns to be used for clustering
clusteringColumns = c("Red","Blue")
# Cluster data
citrus.clustering = citrus.cluster(citrus.combinedFCSSet,clusteringColumns)
# Get decendants
citrus.getClusterDecendants(15000,citrus.clustering$clustering$merge)
# Get ancestors
citrus.getClusterAncestors(15000,citrus.clustering$clustering$merge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.