slingshotExample {slingshot} | R Documentation

## Bifurcating lineages data

### 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

    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

    data("slingshotExample")
    rd <- slingshotExample$rd
    cl <- slingshotExample$cl
    slingshot(rd, cl)

[Package slingshot version 1.6.1 Index]