slingLineages {slingshot} | R Documentation

## Extract the Slingshot lineages

### Description

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

### Usage

    slingLineages(x)

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

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

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

### Arguments

`x` | an object containing `slingshot` output.

### Value

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

### Examples

    data("slingshotExample")
    rd <- slingshotExample$rd
    cl <- slingshotExample$cl
    pto <- slingshot(rd, cl, start.clus = '1')
    slingLineages(pto)

[Package slingshot version 2.2.1 Index]