setDilutionFactors | R Documentation |
This function edits the dilution factors of an mrbin object but does not change the bin data.
setDilutionFactors(
mrbinObject,
dilutionFactors = NULL,
errorsAsWarnings = FALSE,
alwaysShowOptionKeep = FALSE
)
mrbinObject |
An mrbin object |
dilutionFactors |
An optional vector of dilution factors. If provided, no user input is requested |
errorsAsWarnings |
If TRUE, errors will be turned into warnings. Should be used with care, as errors indicate undocumented changes to the data. |
alwaysShowOptionKeep |
If TRUE, you will be asked to keep current values even if they do not match the current dataset. |
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<-setDilutionFactors(mrbinObject,dilutionFactors=c(1.5,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.