Description Usage Arguments See Also Examples
This function provides boxplots or histograms of the ppm shift posterior distributions of multiplets, and saves the figure to pdf file in specified directory. The file name is in the format of "spec_i_metaName_ppmShift.pdf", where i is the spectrum number and "metaName" is the input metabolite name if given. The figure file will not be overwritten if it already exists. A prefix can be given to the file name for new saves.
1 2 3 |
BM |
|
metaName |
Only multiplets belonging to the named Metabolite will be shown. Only one metabolite name can be given. If missing, all metabolites will be plotted. |
plotHist |
If |
breaks |
A single number to set the number of bins for the histogram. If missing from the input, it is set to the data length divided by 3. |
perMult |
If set TRUE plot the shifts per multiplet, otherwise, plot the shifts per spectrum. |
saveFig |
Save figure to pdf file if set TRUE. The default is TRUE. |
saveFigDir |
Save pdf file in this directory. The default is the output directory of BM. |
prefixFig |
Add prefix to each saved figure name. The default is no prefix. |
overwriteFig |
Overwrite saved figure file in pdf format if |
showPlot |
If set |
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.