slingCurves | R Documentation |
Extract the simultaneous principal curves from an object
containing slingshot
output.
slingCurves(x, ...)
## S4 method for signature 'PseudotimeOrdering'
slingCurves(x, as.df = FALSE)
## S4 method for signature 'SingleCellExperiment'
slingCurves(x, ...)
## S4 method for signature 'SlingshotDataSet'
slingCurves(x, as.df = FALSE)
x |
an object containing |
... |
additional parameters to be passed to object-specific methods. |
as.df |
logical, whether to format the output as a |
A list of smooth lineage curves, each of which is a
principal_curve
object.
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingCurves(pto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.