Description Usage Format Source Examples
This simulated dataset contains a low-dimensional representation
of two bifurcating lineages (rd
) and a vector of cluster labels
generated by k-means with K = 5
(cl
).
1 | data("slingshotExample")
|
rd
is a matrix of coordinates in two dimensions, representing
140 cells. cl
is a numeric vector of 140 corresponding cluster
labels for each cell.
Simulated data provided with the slingshot
package.
1 2 3 4 | data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
slingshot(rd, cl)
|
Loading required package: princurve
Using full covariance matrix
class: SlingshotDataSet
Samples Dimensions
140 2
lineages: 2
Lineage1: 1 2 3 5
Lineage2: 1 2 3 4
curves: 2
Curve1: Length: 15.045 Samples: 100.6
Curve2: Length: 15.126 Samples: 103.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.