Revision 8ecdb006ab1bbebf6cb0820164875ec660626e1d authored by petrovich on 21 October 2018, 23:26:22 UTC, committed by Vladislav Kamenev on 26 October 2018, 11:35:45 UTC
1 parent b70196b
renameColumn.R
renameColumn <- function (es, isFeature = TRUE, oldName, newName) {
if (isFeature) {
fData(es)[[newName]] <- fData(es)[[oldName]]
fData(es)[[oldName]] <- NULL
} else {
phenoData(es)[[newName]] <- phenoData(es)[[oldName]]
phenoData(es)[[oldName]] <- NULL
}
assign("es", es, envir = parent.frame())
}
Computing file changes ...