Learn R Programming

scater (version 1.0.4)

rename: Rename variables of pData(object).

Description

Rename variables of pData(object).

Usage

rename(object, ...)
"rename"(object, ...)
rename.SCESet(object, ...)

Arguments

object
A SCESet object.
...
Additional arguments to be passed to dplyr::rename to act on pData(object).

Examples

Run this code
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
example_sceset <- rename(example_sceset, Cell_Phase = Cell_Cycle)

Run the code above in your browser using DataLab