plotDiagnosticScatter {batman} | R Documentation |
When fitting a large number of spectra, this plot facilitates discovery of spectra or metabolites which are poorly fit.
plotDiagnosticScatter(BM, binWidth = 0.018, cexID = 0.5, saveFig = TRUE, saveFigDir = BM$outputDir, prefixFig, rerun = FALSE, placeLegend = "topright", overwriteFig = FALSE, showPlot)
BM |
|
binWidth |
The full width of the bins to integrate. The centre of a bin is the estimated mean posterior chemical shift for each multiplet in each spectrum. |
cexID |
Character size for the spectra ID number. |
saveFig |
Save figure to pdf file if set TRUE. The default is TRUE. |
saveFigDir |
Save figure in this directory. The default is output directory of BM. |
prefixFig |
Add prefix to each saved figure name. The default is no prefix. |
rerun |
Set to FALSE to plot |
placeLegend |
Where to place the legend in figure. The default is "topright". |
overwriteFig |
Overwrite saved figure file in pdf format if |
showPlot |
If set |
library(batman) ## Run BATMAN if(interactive()) { bm<-batman() ## then plot results plotDiagnosticScatter(bm) }