Plot spectra from dataset.
1 2 3 |
dataset |
list representing the dataset from a metabolomics experiment. |
column.class |
string indicating the metadata's variable. |
func |
function to compute the summary statistics to apply to the data. |
samples |
vector with samples' names, if NULL all the samples will be considered. |
variable.bounds |
numeric vector with two elements indicating the interval of x-values to plot. |
xlab |
x-axis label. |
ylab |
y-axis label. |
lty |
parameter of matplot. |
legend.place |
string indicating the place that the legend's box will be placed. |
cex |
numeric value that indicates the amount by which the legend is magnified relative to the default. |
reverse.x |
boolean value indicating if the x-axis will be shown reversed or not. |
... |
additional parameters to matplot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.