rename: Rename variables of 'pData(object)'.

Description Usage Arguments Value Examples

Description

Rename variables of pData(object).

Usage

1
2
3
4
5
6
rename(object, ...)

## S4 method for signature 'SCESet'
rename(object, ...)

rename.SCESet(object, ...)

Arguments

object

A SCESet object.

...

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

Value

An SCESet object.

Examples

1
2
3
4
5
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)

dynverse/scaterlegacy documentation built on Feb. 17, 2020, 5:07 a.m.