cbk.plot.chart: Visualze IONML as intensity chart

Description Usage Arguments Value Examples

View source: R/cbk.plot.chart.R

Description

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.

Usage

1
2
cbk.plot.chart(IONML_or_pmlame, opts = NULL, t2 = 25, t3 = 60,
  ref = "int_29Si", acq = "", w_size = 10, verbose = FALSE, ...)

Arguments

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’.

Value

@return A pmlame used to plot the diagram.

Examples

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)

misasa/chelyabinsk documentation built on Nov. 24, 2020, 5:47 a.m.