renameColDataColumns {PDATK} | R Documentation |
colData
slot, or do nothing if they don't matchRename the columns in the colData
slot, or do nothing if they don't match
renameColDataColumns(x, values)
x |
An |
values |
A character vector where names are the existing column names and values are the new column names. |
x
with updated column names, if they match any existing columns.
data(sampleICGCmicro) renameColDataColumns(sampleICGCmicro, c(event_occurred='days_survived'))