citrus.selectClusters | R Documentation |
Selects clusters from a set of clusters identified by a clustering method investigate for stratifying signal.
citrus.selectClusters(citrus.clustering, method = "minimumClusterSize", ...)
citrus.clustering |
A |
method |
Method for determining which clusters from a clustering should be analyzed for stratifying signal. |
... |
Other parameters passed to specific cluster selection methods. |
A vector of cluster IDs.
Robert Bruggner
citrus.selectClusters.minimumClusterSize
.
# 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)
# Select clusters that contain at least 1% of clustered events.
largeEnoughClusters = citrus.selectClusters(citrus.clustering,minimumClusterSizePercent=0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.