Description Usage Arguments Value Examples
Get the metadata value
1 | get_metadata_value(dataset, variable, sample)
|
dataset |
list representing the dataset from a metabolomics experiment. |
variable |
index or name of the metadata variable. |
sample |
index or name of the sample. |
Return the corresponding metadata value of the sample.
1 2 3 4 | ## Example of getting a metadata value
library(specmine.datasets)
data(cachexia)
metadata.value = get_metadata_value(cachexia, "Muscle.loss", "PIF_178")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.