slingLineages {slingshot} | R Documentation

## Extract the Slingshot lineages

### Description

Extract lineages (represented by ordered sets of clusters) from a `SlingshotDataSet`.

### 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")
    sds <- getLineages(rd, cl)
    slingLineages(sds)

[Package slingshot version 1.0.0 Index]