slingClusterLabels | R Documentation |
Extract the cluster labels used by slingshot
.
slingClusterLabels(x)
## S4 method for signature 'PseudotimeOrdering'
slingClusterLabels(x)
## S4 method for signature 'SlingshotDataSet'
slingClusterLabels(x)
## S4 method for signature 'SingleCellExperiment'
slingClusterLabels(x)
x |
an object containing |
Typically returns a matrix of cluster assignment weights
(#cells
by #clusters
). Rarely, a vector of cluster labels.
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingClusterLabels(pto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.