Convert raw data to different format data.
convert_raw_data(
input_path = ".",
output_path,
msconvert_parameter,
docker_parameters = c(),
process_all = FALSE
)
input path (raw data)
output path. If missing, same with input_path.
msconvert parameters. See
docker_parameters
process all raw data together or one by one.
mzXML or something like this format.
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