slingParams {slingshot} | R Documentation

## Methods for parameters used by Slingshot

### Description

Extracts additional control parameters used by Slingshot in lineage inference and fitting simultaneous principal curves.

### Usage

    slingParams(x)

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

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

### Arguments

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

### Value

the list of additional parameters used by Slingshot.

### Methods (by class)

- `SlingshotDataSet`: returns the list of additional parameters used by Slingshot from a `SlingshotDataSet` object.

- `SingleCellExperiment`: returns the list of additional parameters used by Slingshot from a `SingleCellExperiment` object.

### Examples

    data("slingshotExample")
    rd <- slingshotExample$rd
    cl <- slingshotExample$cl
    sds <- slingshot(rd, cl, start.clus = '5')
    slingParams(sds)

[Package slingshot version 1.6.1 Index]