https://github.com/ctlab/phantasus
Tip revision: 0af0aaff407791d423e10282390f812aea47cb41 authored by Vladislav Kamenev on 11 April 2019, 08:40:35 UTC
Appveyor release bioc and fgsea from git master
Appveyor release bioc and fgsea from git master
Tip revision: 0af0aaf
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())
}