resetEnv()#clean up previous data from the package environment
results<-mrbin(silent=TRUE,setDefault=FALSE,parameters=list(dimension="2D",
binRegion=c(8,1,15,140),binwidth2D=0.1,binheight=4,solventRegion=c(5.5,4.2),
PQNScaling="No",noiseRemoval="Yes",trimZeros="Yes",
fixNegatives="No",logTrafo="No",PCA="No",signal_to_noise2D=10,
example=TRUE,#only used for the package examples
NMRfolders=c(system.file("extdata/1.mr2",package="mrbin"),
system.file("extdata/2.mr2",package="mrbin"),
system.file("extdata/3.mr2",package="mrbin")),
NMRvendor="mrbin"))
plotPCA(results)
Run the code above in your browser using DataLab