slingLineages: Extract the Slingshot lineages

Description Usage Arguments Value Methods (by class) Examples

Description

Extract lineages (represented by ordered sets of clusters) identified by slingshot.

Usage

1
2
3
4
5
6
7
slingLineages(x)

## S4 method for signature 'SlingshotDataSet'
slingLineages(x)

## S4 method for signature 'SingleCellExperiment'
slingLineages(x)

Arguments

x

an object containing slingshot output.

Value

the list of lineages, represented by ordered sets of clusters.

Methods (by class)

Examples

1
2
3
4
5
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
sds <- getLineages(rd, cl)
slingLineages(sds)

Example output

Loading required package: princurve
Using full covariance matrix
$Lineage1
[1] "1" "2" "3" "5"

$Lineage2
[1] "1" "2" "3" "4"

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