powered by
Performs data transformation according to a method.
transform_data(dataset, method = "log")
list representing the dataset from a metabolomics experiment.
string specifying the transformation method. The possible values are:
"log" logarithmic transformation.
"cubicroot" cubic root transformation.
Returns the dataset with the data transformation applied.
# NOT RUN { ## Example of logarithmic transformation library(specmine.datasets) data(cachexia) dataset.log = transform_data(cachexia, "log") # }
Run the code above in your browser using DataLab