powered by
Gets the values of all samples in the dataset given a set of x axis names or indexes.
get_data_values(dataset, x.axis.val, by.index = FALSE)
list representing the dataset from a metabolomics experiment.
vector with the values of the x axis (could be names or indexes).
boolean value indicating if the x.axis.val is a vector of indexes or not.
Returns a matrix with the values of all samples in the specified x axis.
# NOT RUN { ## Example of getting a metadata value library(specmine.datasets) data(cachexia) data.values = get_data_values(cachexia, c("Creatine","Serine","Lactate"), by.index = FALSE) # }
Run the code above in your browser using DataLab