Description Usage Arguments Value Examples
Set new samples names to the dataset.
1 | set_sample_names(dataset, new.sample.names)
|
dataset |
list representing the dataset from a metabolomics experiment. |
new.sample.names |
vector with the new samples names. |
Returns the dataset with the updated samples names.
1 2 3 4 5 | ## Example of setting a new value label to the dataset
library(specmine.datasets)
data(cachexia)
new.samples.names = as.character(1:77)
cachexia = set_sample_names(cachexia, new.samples.names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.