Description Usage Arguments Value Author(s) Examples
Log transform a metabolomics feature data matrix.
| 1 2 | LogTransform(featuredata, base = exp(1), saveoutput = FALSE,
  outputname = "log.results", zerotona = FALSE)
 | 
| featuredata | featuredata A data frame in the featuredata format. This is a dataframe with metabolites in columns and samples in rows. Unique sample names should be provided as row names. See NormalizeMets Vignette for details. | 
| 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. | 
| zerotona | A logical indicating whether any zeros should be converted to missing prior to log transforming. By default, this is set to FALSE. | 
The result is an object of class
alldata.
Alysha M De Livera
| 1 2 3 |     data(alldata_eg)
    lg <- LogTransform(alldata_eg$featuredata)
    dataview(lg$featuredata)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.