convert_raw_data: convert_raw_data

View source: R/convert_raw_data.R

convert_raw_dataR Documentation

convert_raw_data

Description

Convert raw data to different format data.

Usage

convert_raw_data(
  input_path = ".",
  output_path,
  msconvert_parameter,
  docker_parameters = c(),
  process_all = FALSE
)

Arguments

input_path

input path (raw data)

output_path

output path. If missing, same with input_path.

msconvert_parameter

msconvert parameters. See

docker_parameters

docker_parameters

process_all

process all raw data together or one by one.

Value

mzXML or something like this format.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

parameter =
  create_msconvert_parameter(
    output_format = "mzXML",
    binary_encoding_precision = "32",
    zlib = TRUE,
    write_index = TRUE,
    peak_picking_algorithm = "cwt",
    vendor_mslevels = c(1, NA),
    cwt_mslevels = c(1, NA),
    cwt_min_snr = 0.1,
    cwt_min_peak_spacing = 0.1,
    subset_polarity = "positive",
    subset_scan_number = c(NA, NA),
    subset_scan_time = c(60, 300),
    subset_mslevels = c(1, 2),
    zero_samples_mode = "removeExtra",
    zero_samples_mslevels = c(1, NA),
    zero_samples_add_missing_flanking_zero_count = 5
  )
parameter

tidymass/massconverter documentation built on Sept. 25, 2022, 1:53 p.m.