sampleNames,SingleCellExperiment-method {CellTrails} | R Documentation

## GET sample names

### Description

Retrieve sample names from a `SingleCellExperiment` object

### Usage

    ## S4 method for signature 'SingleCellExperiment'
    sampleNames(object)

### Arguments

`object` | An object of class `SingleCellExperiment`

### Details

Wrapper for `colnames(object)`

### Value

A `character` vector

### Author(s)

Daniel C. Ellwanger

### See Also

`SingleCellExperiment`

### Examples

    # Example data
    data(exSCE)

    sampleNames(exSCE)[seq_len(5)]

[Package CellTrails version 1.12.0 Index]