Plot spectra from dataset.
plot_spectra(dataset, column.class, func = NULL, samples = NULL,
variable.bounds = NULL, xlab = NULL, ylab = NULL, lty = 1,
legend.place = "topright", cex = 0.8, reverse.x = FALSE, ...)
list representing the dataset from a metabolomics experiment.
string indicating the metadata's variable.
function to compute the summary statistics to apply to the data.
vector with samples' names, if NULL all the samples will be considered.
numeric vector with two elements indicating the interval of x-values to plot.
x-axis label.
y-axis label.
parameter of matplot.
string indicating the place that the legend's box will be placed.
numeric value that indicates the amount by which the legend is magnified relative to the default.
boolean value indicating if the x-axis will be shown reversed or not.
additional parameters to matplot.