slingPseudotime | R Documentation |
Extract the matrix of pseudotime values or cells' weights along each lineage.
slingPseudotime(x, ...)
slingCurveWeights(x, ...)
slingAvgPseudotime(x, ...)
## S4 method for signature 'PseudotimeOrdering'
slingPseudotime(x, na = TRUE)
## S4 method for signature 'SingleCellExperiment'
slingPseudotime(x, na = TRUE)
## S4 method for signature 'SlingshotDataSet'
slingPseudotime(x, na = TRUE)
## S4 method for signature 'PseudotimeOrdering'
slingCurveWeights(x, as.probs = FALSE)
## S4 method for signature 'SingleCellExperiment'
slingCurveWeights(x, as.probs = FALSE)
## S4 method for signature 'SlingshotDataSet'
slingCurveWeights(x, as.probs = FALSE)
## S4 method for signature 'ANY'
slingAvgPseudotime(x)
x |
an object containing |
... |
additional parameters to be passed to object-specific methods. |
na |
logical. If |
as.probs |
logical. If |
slingPseudotime
: an n
by L
matrix representing
each cell's pseudotime along each lineage.
slingCurveWeights
: an n
by L
matrix of cell
weights along each lineage.
slingAvgPseudotime
: a length n
vector of average cell
pseudotimes, where the average is a weighted average across lineages,
weighted by the assignment weights.
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingPseudotime(pto)
slingCurveWeights(pto)
slingAvgPseudotime(pto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.