renameColDataColumns: Rename the columns in the 'colData' slot, or do nothing if...

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Rename the columns in the colData slot, or do nothing if they don't match

Usage

1

Arguments

x

An S4 object with a colData method.

values

A character vector where names are the existing column names and values are the new column names.

Value

x with updated column names, if they match any existing columns.

Examples

1
2
data(sampleICGCmicro)
renameColDataColumns(sampleICGCmicro, c(event_occurred='days_survived'))

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.