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