removeNoise | R Documentation |
This function checks for each bin (column) whether its level is below the individual noise level times the signal-to-noise ratio. If less than the defined threshold level are above noise*SNR, the whole bin is removed.
removeNoise(mrbinResults, verbose = TRUE, errorsAsWarnings = FALSE)
mrbinResults |
An mrbin object |
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
mrbinResults<-mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",
binwidth1D=0.05,noiseRemoval="No",PQNScaling="No",tryParallel=TRUE,
fixNegatives="No",logTrafo="No",PCA="No",verbose=TRUE,
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<-removeNoise(mrbinResults)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.