Description Usage Arguments Value Examples
View source: R/cbk.plot.chart.R
Visualze IONML as intensity chart. This reads IONML or ion-type pmlame (R object) and plots intensity chart of elements. Two intensity charts will be droawn with and without normalization by reference ion intensity.
1 2 | cbk.plot.chart(IONML_or_pmlame, opts = NULL, t2 = 25, t3 = 60,
ref = "int_29Si", acq = "", w_size = 10, verbose = FALSE, ...)
|
IONML_or_pmlame |
IONML (xml file) or ion-type pmlame (R object). |
opts |
List of further options for plot. See cbk.plot. |
t2 |
When ion starts (default: 25 s). |
t3 |
When ion ends (default: 60 s). |
ref |
Reference ion species (default: "int_29Si"). |
acq |
Name of analysis such as ‘ref_cpx_klb1@1’ (default: ""). |
w_size |
Window size for moving average (default: 10). |
verbose |
Output debug info (default: FALSE). |
... |
Graphical options that are passed to matplot and legend, such as ‘col’ and ‘pch’. |
@return A pmlame used to plot the diagram.
1 2 3 4 5 6 | ionml.xml <- cbk.path("ref_cpx_klb1@1.xml")
message(sprintf("The ionml.xml is located at |%s|.",ionml.xml))
cbk.plot.chart(ionml.xml,acq="ref_cpx_klb1@1")
pmlame <- cbk.read.ionml(ionml.xml,representative_time=TRUE)
cbk.plot.chart(pmlame)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.