powered by
Get the metadata value
get_metadata_value(dataset, variable, sample)
list representing the dataset from a metabolomics experiment.
index or name of the metadata variable.
index or name of the sample.
Return the corresponding metadata value of the sample.
# NOT RUN { ## Example of getting a metadata value library(specmine.datasets) data(cachexia) metadata.value = get_metadata_value(cachexia, "Muscle.loss", "PIF_178") # }
Run the code above in your browser using DataLab