Plot overlayed NMR spectra

matspec(X, ppm, shift = c(0, 9.5), interactive = TRUE, ...)

Arguments

X

num matrix, NMR matrix with spectra represented in rows.

ppm

num array, ppm vector.

shift

num array, hemical shift region to be plotted (in ppm).

interactive

logical, interactive version (plotly package)

...

additional parameters to be passed on to the graphics generic plot function.

Details

Non-interactive mode: Base graphics for NMR spectra. Interactive mode: Plotly graphics.

NA

See also

Author

torben.kimhofer@murdoch.edu.au

Examples

data(covid) matspec(X[1:2,], ppm) # interactive
#> Warning: minimal value for n is 3, returning requested palette with 3 different levels
#> Warning: minimal value for n is 3, returning requested palette with 3 different levels
matspec(X[1:2,], ppm, interactive=FALSE) # static