https://github.com/ctlab/phantasus
Revision 32a8d5ce1b9cf22c48d6986c64b84dccd0059274 authored by Nitesh Turaga on 02 May 2019, 16:15:45 UTC, committed by Nitesh Turaga on 02 May 2019, 16:15:45 UTC
1 parent 86a00a4
Tip revision: 32a8d5ce1b9cf22c48d6986c64b84dccd0059274 authored by Nitesh Turaga on 02 May 2019, 16:15:45 UTC
bump x.y.z versions to odd y after creation of RELEASE_3_9 branch
bump x.y.z versions to odd y after creation of RELEASE_3_9 branch
Tip revision: 32a8d5c
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 ...