Set new x-values to the dataset
set_x_values(dataset, new.x.values, new.x.label = NULL)
list representing the dataset from a metabolomics experiment.
vector with the new x-values.
string with the new x-label (can be NULL).
Returns the dataset with the updated x-values.
# NOT RUN {
## Example of setting new x-values to the dataset
data(cachexia)
new.xvalues = 1:63
cachexia = set_x_values(cachexia, new.xvalues, new.x.label = NULL)
# }
Run the code above in your browser using DataLab