states {CellTrails} | R Documentation

## GET states

### Description

Retrieve computed states from a `SingleCellExperiment` object

### Usage

    states(object)

### Arguments

`object` | An object of class `SingleCellExperiment`

### Details

State information is extracted from `colData`; factor levels are alphanumerically ordered by ID.

### Value

A `factor` vector

### Author(s)

Daniel C. Ellwanger

### See Also

`SingleCellExperiment` `findStates`

### Examples

    # Example data
    data(exSCE)

    states(exSCE)[seq_len(5)]

[Package CellTrails version 1.4.0 Index]