trailNames<- {CellTrails} | R Documentation

## SET trail names

### Description

Enables to rename trails stored in a `SingleCellExperiment` object.

### Usage

    trailNames(object) <- value

### Arguments

`object` | An object of class `SingleCellExperiment`
`value` | A character vector with the trail names

### Details

Diagnostic messages
An error is thrown if the number of names does not correspond to the number of trails stored in the object. Further, trail names are required to be unique.

### Value

An updated object of class `SingleCellExperiment`

### Author(s)

Daniel C. Ellwanger

### See Also

`addTrail`

### Examples

    # Example data
    data(exSCE)

    trailNames(exSCE)
    trailNames(exSCE) <- c("ABC", "DEF")
    trailNames(exSCE)

[Package CellTrails version 1.0.1 Index]