as.SlingshotDataSet | R Documentation |
This function converts objects that contain slingshot
results into a SlingshotDataSet
.
as.SlingshotDataSet(x, ...)
## S4 method for signature 'PseudotimeOrdering'
as.SlingshotDataSet(x)
## S4 method for signature 'SingleCellExperiment'
as.SlingshotDataSet(x)
## S4 method for signature 'SlingshotDataSet'
as.SlingshotDataSet(x)
x |
an object containing |
... |
additional arguments to pass to object-specific methods. |
A SlingshotDataSet
object containing the slingshot
results from the original object, x
.
PseudotimeOrdering
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
as.SlingshotDataSet(pto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.