slingshotExample: Bifurcating lineages data

Description Usage Format Source Examples

Description

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).

Usage

1
data("slingshotExample")

Format

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.

Source

Simulated data provided with the slingshot package.

Examples

1
2
3
4
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
slingshot(rd, cl)

Example output

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

slingshot documentation built on Nov. 8, 2020, 5:51 p.m.