ionml.convert.ioncsv: Convert IONCSV to IONML

Description Usage Arguments Value See Also Examples

View source: R/ionml.convert.ioncsv.R

Description

Convert IONCSV to IONML. This program assumes extensions of IONCSV and IONML to be ‘.ion’ and ‘.xml’, respectively.

The IONCSV consists of columns of time and ion intensities. The first column of each line should be number of ‘cycle’. Colname of the IONCSV should be ‘time’ and name of element followed by atomic weight (‘Si29’ instead of ‘29Si’).

Usage

1
ionml.convert.ioncsv(ioncsv, outfile = NULL, force = FALSE)

Arguments

ioncsv

Name of IONCSV.

outfile

Name of IONML that will be created.

force

Flag to force convert again.

Value

Name of IONML that was created.

See Also

ionml.convert.qtegracsv2ioncsv

Examples

1
2
3
ioncsv <- cbk.path("ref_cpx_klb1@1.ion")
message(sprintf("The ioncsv is located at |%s|.",ioncsv))
ionml.convert.ioncsv(ioncsv,outfile=tempfile(fileext=".xml"))

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