removeSpectrum | R Documentation |
This function lets the user pick spectra from a list for removal from data analysis.
removeSpectrum(
mrbinResults = NULL,
spectra = NULL,
verbose = TRUE,
errorsAsWarnings = FALSE
)
mrbinResults |
An mrbin object. If not provided, the function works on the package environment |
spectra |
Character vector with NMR folder names to be excluded. If provided, no interactive selection will be shown |
verbose |
Should a summary be printed? |
errorsAsWarnings |
If TRUE, errors will be turned into warnings. Should be used with care, as errors indicate undocumented changes to the data. |
An invisible mrbin object (only if an mrbin object was provided)
mrbinResults<-mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",
binwidth1D=0.05,PQNScaling="No",PCA="No",tryParallel=TRUE,logTrafo="No",
noiseRemoval="No",
NMRfolders=c(system.file("extdata/1/10/pdata/10",package="mrbin"),
system.file("extdata/2/10/pdata/10",package="mrbin"),
system.file("extdata/3/10/pdata/10",package="mrbin"))))
mrbinResults<-removeSpectrum(mrbinResults,
spectra=c(system.file("extdata/2/10/pdata/10",package="mrbin")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.