powered by
Get a data value given the x-axis labels and the sample
get_data_value(dataset, x.axis.val, sample, by.index = FALSE)
list representing the dataset from a metabolomics experiment.
index or name of the x-axis value.
index or name of the sample.
boolean value indicating if the x-axis value and sample are represented as index or not.
Returns a numeric with the data point value.
# NOT RUN { ## Example of getting a data value from the dataset data(cachexia) data.value = get_data_value(cachexia, "Creatine", "PIF_178", by.index = FALSE) # }
Run the code above in your browser using DataLab