nLineages | R Documentation |
Return the number of lineages for a slingshot object
nLineages(sds, ...)
## S4 method for signature 'SingleCellExperiment'
nLineages(sds)
## S4 method for signature 'SlingshotDataSet'
nLineages(sds)
## S4 method for signature 'PseudotimeOrdering'
nLineages(sds)
sds |
A slingshot object already run on the full dataset. Can be either a
|
... |
parameters including: |
The number of lineages in the slingshot object
data(list = 'slingshotExample', package = "slingshot")
if (!"cl" %in% ls()) {
rd <- slingshotExample$rd
cl <- slingshotExample$cl
}
sds <- slingshot::slingshot(rd, cl)
nLineages(sds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.