powered by
Returns x-values corresponding to a vector of indexes (only to numerical values - spectra)
indexes_to_xvalue_interval(dataset, indexes)
list representing the dataset from a metabolomics experiment.
numeric vector containing the indexes.
Returns a numeric vector with the interval of x-values from the indexes vector
# NOT RUN { ## Example of getting the interval of x-values from indexes library(specmine.datasets) data(propolis) xvalue.interval = indexes_to_xvalue_interval(propolis, c(10,50)) # }
Run the code above in your browser using DataLab