Learn R Programming

slingshot (version 2.1.1)

slingshotExample: 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")

Arguments

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.

Examples

Run this code
# NOT RUN {
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
slingshot(rd, cl)
# }

Run the code above in your browser using DataLab