Description Usage Arguments Value Methods (by class) Examples
Extract the cluster labels used by slingshot
.
1 2 3 4 5 6 7 | slingClusterLabels(x)
## S4 method for signature 'SlingshotDataSet'
slingClusterLabels(x)
## S4 method for signature 'SingleCellExperiment'
slingClusterLabels(x)
|
x |
an object containing |
a vector of cluster labels or a matrix of cluster assignment weights.
SlingshotDataSet
: returns the cluster labels stored in a
SlingshotDataSet
object.
SingleCellExperiment
: returns the cluster labels used by
slingshot
in a SingleCellExperiment
object.
1 2 3 4 5 | data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
sds <- getLineages(rd, cl)
slingClusterLabels(sds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.