Last chance! 50% off unlimited learning
Sale ends in
Extract the simultaneous principal curves from an object
containing slingshot
output.
slingCurves(x, ...)# S4 method for PseudotimeOrdering
slingCurves(x, as.df = FALSE)
# S4 method for SingleCellExperiment
slingCurves(x, ...)
# S4 method for SlingshotDataSet
slingCurves(x, as.df = FALSE)
an object containing slingshot
output.
additional parameters to be passed to object-specific methods.
logical, whether to format the output as a data.frame
,
suitable for plotting with ggplot
.
A list of smooth lineage curves, each of which is a
principal_curve
object.
# NOT RUN {
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingCurves(pto)
# }
Run the code above in your browser using DataLab