Description Usage Arguments Value Author(s) See Also Examples
Selects clusters from a set of clusters identified by a clustering method investigate for stratifying signal.
1 | 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
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # 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.