slingCurves {slingshot} | R Documentation |
Extract the simultaneous principal curves from an object
containing slingshot
output.
slingCurves(x) ## S4 method for signature 'SlingshotDataSet' slingCurves(x) ## S4 method for signature 'SingleCellExperiment' slingCurves(x)
x |
an object containing |
the list of smooth lineage curves, each of which is a
principal_curve
object.
SlingshotDataSet
: returns the list of smooth lineage curves from a
SlingshotDataSet
object.
SingleCellExperiment
: returns the list of smooth lineage curves from a
SingleCellExperiment
object.
data("slingshotExample") rd <- slingshotExample$rd cl <- slingshotExample$cl sds <- slingshot(rd, cl) slingCurves(sds)