Learn R Programming

specmine (version 3.1.6)

plot_2d_spectra: Plot of 2D spectra

Description

Plot spectra from 2D specmine dataset.

Usage

plot_2d_spectra(specmine_2d_dataset, title_spectra = "", meta = NULL, spec_samples = NULL)

Arguments

specmine_2d_dataset

List representing the 2D dataset from a 2D metabolomics experiment.

title_spectra

The title of the plot.

meta

String indicating the metadata's variable.

spec_samples

Vector with samples' names or numbers, if NULL only four samples are plotted. The two with highest and lowest signal-to-noise ratio (SNR).