Description Usage Arguments Value Examples
Transformation of the dataMatrix
Transformation of the dataMatrix
1 2 3 4 5 6 7 8 9 | metTransform(x, ...)
## S4 method for signature 'MultiDataSet'
metTransform(x, methodC = c("log2", "log10",
"sqrt")[1], info.txtC = NA)
## S4 method for signature 'ExpressionSet'
metTransform(x, methodC = c("log2", "log10",
"sqrt")[1], info.txtC = NA)
|
x |
An S4 object of class |
methodC |
Character: Factor of interest (name of a column from the pData(x)) |
info.txtC |
Character: File name for the printed results (call to 'sink()'); if NA (default), messages will be printed on the screen; if NULL, no verbose will be generated |
x |
An S4 object of class |
methodC |
Character: Factor of interest (name of a column from the pData(x)) |
info.txtC |
Character: File name for the printed results (call to 'sink()'); if NA (default), messages will be printed on the screen; if NULL, no verbose will be generated |
MultiDataSet
including the adjusted p-values in the fData data frames
ExpressionSet
including the adjusted p-values in fData (or the vector of adjusted p-values when returnAdjustOnlyL is TRUE)
1 2 3 4 5 6 7 | prometMset <- metRead(system.file("extdata/promet", package="metabolis"))
prometMset <- metTransform(prometMset, "sqrt")
printStr <- lapply(assayData(prometMset), function(aData) ropls::strF(aData[["exprs"]]))
sacSet <- metRead(system.file("extdata/sacurine", package = "metabolis"))
ropls::strF(t(exprs(sacSet)))
sacSet <- metTransform(sacSet, "log2")
ropls::strF(t(exprs(sacSet)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.