plotMultiNMR | R Documentation |
This function plots the current NMR spectrum. If no parameters are provided, parameters are read from the mrbin.env environment variables, set by mrbin. To change the plot, use zoom(), zoomIn(), zoomOut(), intPlus(), intMin(), left(), right(). For 2D data use additionally: contMin(), contPlus(), up(), down()
plotMultiNMR(
region = NULL,
rectangleRegions = NULL,
rectangleColors = c("green", "orange", "blue", "red", "yellow", "gray", "purple"),
rectangleFront = FALSE,
polygonRegion = NULL,
maxPlots = Inf,
color = NULL,
add = FALSE,
showGrid = FALSE,
manualScale = TRUE,
plotTitle = "",
restrictToRange = FALSE,
enableSplit = TRUE,
dimension = NULL
)
region |
A vector defining the plot region (left, right, top, bottom) |
rectangleRegions |
A 4-column matrix defining areas where to plot rectangles |
rectangleColors |
Define colors for the rectangles |
rectangleFront |
Plot rectangles in front of spectrum rather than in background (only 2D) |
polygonRegion |
Defines 4 corners of a polygon to be plotted |
maxPlots |
The maximum number of 2D plots to be overlaid |
color |
Defines the color of the spectrum plot. If NULL, a rainbow theme is used for 2D NMR |
add |
If TRUE, additional spectrum plots are overlaid with the current plot |
showGrid |
Shows a grid of data points. Defaults to FALSE |
manualScale |
If TRUE, scaling factor is taken from environment variables |
plotTitle |
Defines the main title of the plot |
restrictToRange |
Restrict plot area to range of available data points. Defaults to FALSE |
enableSplit |
Allow split plots for showing 1D and 2D spectra simultaneously |
dimension |
If not provided, this will be taken from package environment |
None
mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",binwidth1D=.1,
PQNScaling="No",noiseRemoval="No",trimZeros="No",tryParallel=TRUE,
fixNegatives="No",logTrafo="No",PCA="No",verbose=TRUE,
NMRfolders=system.file("extdata/1/10/pdata/10",package="mrbin")))
plotMultiNMR()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.