powered by
Set new samples names to the dataset.
set_sample_names(dataset, new.sample.names)
list representing the dataset from a metabolomics experiment.
vector with the new samples names.
Returns the dataset with the updated samples names.
# NOT RUN { ## Example of setting a new value label to the dataset data(cachexia) new.samples.names = as.character(1:77) cachexia = set_sample_names(cachexia, new.samples.names) # }
Run the code above in your browser using DataLab