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

- `SlingshotDataSet`: returns the list of lineages, represented by ordered sets of clusters from a `SlingshotDataSet` object.

- `SingleCellExperiment`: returns the list of lineages, represented by ordered sets of clusters from a `SingleCellExperiment` object.

### Examples

    data("slingshotExample")
    rd <- slingshotExample$rd
    cl <- slingshotExample$cl
    sds <- getLineages(rd, cl)
    slingLineages(sds)

[Package slingshot version 1.6.1 Index]