Description Usage Arguments Value Examples
Returns indexes corresponding to an interval of x-values (only to numerical values - spectra)
1 | xvalue_interval_to_indexes(dataset, min.value, max.value)
|
dataset |
list representing the dataset from a metabolomics experiment. |
min.value |
mininum x-value of the interval. |
max.value |
maximum x-value of the interval. |
Returns a numeric vector with the indexes of the x-values interval
1 2 3 4 | ## Example of getting the indexes of an interval of x-values
library(specmine.datasets)
data(propolis)
indexes.interval = xvalue_interval_to_indexes(propolis, 2.0, 5.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.