spec.Rd
Plot single NMR spectrum
spec( x, ppm, shift = c(0, 11), add = FALSE, interactive = TRUE, name = "A", mode = "lines", ... )
x | num array, NMR spectrum. |
---|---|
ppm | num array, ppm vector. |
shift | num array, chemical shift region to be plotted. |
add | logical, indicating if spectrum should be added to a current plot generated with |
interactive | logical, interactive version (plotly package) |
name | string, name of trace (only used in interactive mode) |
mode | string, plot mode for interactive version: 'lines' (recommended), 'lines+markers' or 'markers' |
... | Additional parameters to be passed on to the graphics generic plot function. |
Non-interactive mode: Base graphics for single NMR spectrum. Interactive mode: Plotly graphics.
NA
Other NMR:
alignSegment()
,
bline()
,
excise1d()
,
get.idx()
,
lw()
,
matspec()
,
noise.est()
,
normErectic()
,
plotload()
,
ppick()
,
read1d_raw()
,
read1d()
,
specload()
,
stocsy1d_metabom8-class
,
stocsy()
,
storm()
torben.kimhofer@murdoch.edu.au
data(covid) spec(X[1,], ppm) # interactive spec(X[2,], ppm, add=TRUE) # add trace spec(X[1,], ppm, interactive=FALSE) # static