Description Usage Arguments Value Author(s) Examples
Log transform a metabolomics data matrix.
1 2 | LogTransform(inputdata, base = exp(1),
saveoutput = FALSE, outputname = "log.results")
|
inputdata |
A data frame in the input data format. See |
base |
The base with respect to which logarithms are computed. The default computes the natural logarithm. |
saveoutput |
A logical indicating whether the output should be saved as a .csv file. |
outputname |
The name of the output file if the output has to be saved. |
The result is an object of class metabdata
. This is a list containing the following elements:
output |
A normalised data matrix in the input data format. |
samples |
A character string containing the names of the samples. |
groups |
A character string containing the names of the groups. |
Alysha M De Livera, Jairus B Bowne
1 2 3 | data(treated)
log.data <- LogTransform(treated)$output
log.data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.