slingCurves {slingshot} | R Documentation

## Extract simultaneous principal curves

### Description

Extract the simultaneous principal curves from an object containing `slingshot` output.

### Usage

    slingCurves(x)

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

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

### Arguments

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

### Value

the list of smooth lineage curves, each of which is a `principal.curve` object.

### Methods (by class)

- `SlingshotDataSet`: returns the list of smooth lineage curves from a `SlingshotDataSet` object.

- `SingleCellExperiment`: returns the list of smooth lineage curves from a `SingleCellExperiment` object.

### Examples

    data("slingshotExample")
    sds <- slingshot(rd, cl)
    slingCurves(sds)

[Package slingshot version 1.0.0 Index]