powered by
Replace a metadata's variable value of a sample.
replace_metadata_value(dataset, variable, sample, new.value)
list representing the dataset from a metabolomics experiment.
metadata's variable.
name of the sample.
new value of the metadata's variable.
Returns the dataset with the metadata updated.
# NOT RUN { ## Example of replacing metadata's variable value of a sample data(cachexia) dataset = replace_metadata_value(cachexia, "Muscle.loss", "PIF_178", "control") # }
Run the code above in your browser using DataLab