Description Usage Arguments Value Note Author(s) Examples
Gets a list of all the clusters in the seurat object passed and returns it
1 | getClusterList(Data, PValues)
|
Data |
Seurat object containing the clusters |
PValues |
PValues returned from getPValues |
A list containing the clusters in the Seurat object
Called by getDataFiles and getCyGraphs
Matt Heffernan, University of Illinois at Chicago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
getClusterList(SData, Ps)
## The function is currently defined as
function (Data, PValues)
{
nClusters = nlevels(seqwell@meta.data$seurat_clusters)
ClusterList <- list()
i = 0
while (i < nClusters) {
ClusterList[[paste("C", as.character(i), sep = "")]] = PValues[PValues$cluster ==
i, ]
i = i + 1
}
return(ClusterList)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.