trajSampleNames {CellTrails} | R Documentation

## GET trajectory sample names

### Description

Retrieve names of samples that were aligned onto the trajectory from a `SingleCellExperiment` object.

### Usage

    trajSampleNames(object)

### Arguments

`object` | An object of class `SingleCellExperiment`

### Details

A trajectory graph can be initially a forest. Trajectory fitting is performed on one component. This function returns the names of the samples which are member of the selected component.

### Value

An object of class `character`

### Author(s)

Daniel C. Ellwanger

### Examples

    # Example data
    data(exSCE)

    # Get trajectory samples
    trajSampleNames(exSCE)[seq_len(5)]

[Package CellTrails version 1.10.0 Index]