Description Usage Arguments Value Methods (by class) Examples
Extract the matrix of pseudotime values or cells' weights along each lineage.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | slingPseudotime(x, ...)
slingCurveWeights(x, ...)
## S4 method for signature 'SlingshotDataSet'
slingPseudotime(x, na = TRUE)
## S4 method for signature 'SingleCellExperiment'
slingPseudotime(x, na = TRUE)
## S4 method for signature 'SlingshotDataSet'
slingCurveWeights(x, as.probs = FALSE)
## S4 method for signature 'SingleCellExperiment'
slingCurveWeights(x)
|
x |
an object containing |
... |
additional parameters to be passed to object-specific methods. |
na |
logical. If |
as.probs |
logical. If |
an n
by L
matrix representing each cell's pseudotime
along each lineage.
an n
by L
matrix of cell weights along
each lineage.
SlingshotDataSet
: returns the matrix of pseudotime values from a
SlingshotDataSet
object.
SingleCellExperiment
: returns the matrix of pseudotime values from a
SingleCellExperiment
object.
SlingshotDataSet
: returns the matrix of cell weights along each
lineage from a SlingshotDataSet
object.
SingleCellExperiment
: returns the matrix of cell weights along each
lineage from a SingleCellExperiment
object.
1 2 3 4 5 6 7 8 9 10 | data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
sds <- slingshot(rd, cl)
slingPseudotime(sds)
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
sds <- slingshot(rd, cl)
slingCurveWeights(sds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.