Convert raw data to different format data.

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

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
#> -------------------- 
#> pacakge_name: massconverter 
#> function_name: create_msconvert_parameter 
#> time: 2022-09-19 16:18:57 
#> parameters:
#> 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