setNoiseLevels | R Documentation |
This function reads parameters from the global variable mrbin.env$mrbin$parameters and plots exemplary spectra and respective noise levels. Plots will be saved if saveFiles is set to "Yes".
setNoiseLevels(
mrbinObject,
plotOnly = FALSE,
showSpectrumPreview = NULL,
silent = FALSE
)
mrbinObject |
An mrbin object |
plotOnly |
Should only noise plots be generated (TRUE), or should noise levels be adjusted interactively (FALSE) |
showSpectrumPreview |
Should plots be shown? If not provided, this value will be taken from the mrbin object parameters |
silent |
If set to TRUE, plots will not be shown but might still be saved |
An invisible mrbin object
mrbinObject<-mrbin(silent=TRUE,
parameters=list(verbose=TRUE,dimension="1D",PQNScaling="No",
binwidth1D=0.04,signal_to_noise1D=1,PCA="No",binRegion=c(9.5,0.5,10,156),
saveFiles="No",referenceScaling="No",noiseRemoval="No",
fixNegatives="No",logTrafo="No",noiseThreshold=.05,tryParallel=TRUE,
NMRfolders=c(system.file("extdata/2/10/pdata/10",package="mrbin"),
system.file("extdata/3/10/pdata/10",package="mrbin"))
))
mrbinObject<-setNoiseLevels(mrbinObject,plotOnly=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.