| DrawSignal {PepsNMR} | R Documentation |
Depending on the subtype, will draw the different parts of the complex FIDs/spectra.
DrawSignal(Signal_data, subtype = c("stacked", "together", "separate",
"diffmean", "diffmedian", "diffwith"), ReImModArg = c(TRUE,
FALSE, FALSE, FALSE), vertical = TRUE , xlab = "index",
RowNames = NULL, row = 1, num.stacked = 4, main = NULL,
createWindow)
Signal_data |
Matrix containing the FIDs or spectra, one line per FID/spectrum. |
subtype |
Specifies the drawing array:
|
ReImModArg |
Specifies which of the real, imaginary, modulus, or argument part of the complex signal has to be plotted. Those plots are on the same page. |
vertical |
Specifies whether the parts of the complex signal have to be put vertically or horizontally on the page if there are only 2 parts. If more, there will be 2 horizontally and 2 vertically anyway. |
xlab |
Label of the x-axis. |
RowNames |
Strings to use instead of the rownames as labels for the plots if |
row |
|
num.stacked |
Number of stacked plots if |
main |
If not |
createWindow |
If |
Don't call this function directly but rather call Draw to specify how the plot will be outputted.
BenoƮt Legat & Manon Martin
require(PepsNMRData)
plots <- DrawSignal(FinalSpectra_HS[1:4,], subtype = "together",
ReImModArg = c(TRUE, TRUE, FALSE, FALSE), createWindow = TRUE)
grid::grid.draw(plots)