Create msconvert parameters for convert_raw_data
create_msconvert_parameter(
output_format = c("mzXML", "mzML", "mz5", "mgf", "text", "ms1", "cms1", "ms2",
"cms2"),
binary_encoding_precision = c("64", "32"),
zlib = TRUE,
write_index = TRUE,
peak_picking_algorithm = c("vendor", "cwt", "no"),
vendor_mslevels = c(1, NA),
cwt_mslevels = c(1, NA),
cwt_min_snr = 0.1,
cwt_min_peak_spacing = 0.1,
subset_polarity = c("any", "positive", "negative"),
subset_scan_number = c(NA, NA),
subset_scan_time = c(NA, NA),
subset_mslevels = c(1, NA),
zero_samples_mode = c("no", "removeExtra", "addMissing"),
zero_samples_mslevels = c(1, NA),
zero_samples_add_missing_flanking_zero_count = 5
)
"mzXML","mzML", "mz5", "mgf", "text", "ms1", "cms1", "ms2", or "cms2".
"64" or "32"
TRUE or not.
TRUE or not.
"vendor" or "cwt"
A two numeric vector. Second can be set as NA.
A two numeric vector. Second can be set as NA.
minimum signal-to-noise ratio
minimum peak spacing
"any", "positive" or "negative"
A two numeric vector. Can be c(NA, NA) if don't use this.
A two numeric vector. Can be c(NA, NA) if don't use this.
A two numeric vector. Second can be set as NA.
"no", "removeExtra", or "addMissing".
A two numeric vector. Second can be set as NA.
= 5
error or code list
parameter =
create_msconvert_parameter(
output_format = "mzXML",
binary_encoding_precision = "64",
zlib = TRUE,
write_index = TRUE,
peak_picking_algorithm = "vendor",
vendor_mslevels = c(1, 2),
cwt_mslevels = c(1, NA),
cwt_min_snr = 0.1,
cwt_min_peak_spacing = 0.1,
subset_polarity = "any",
subset_scan_number = c(NA, NA),
subset_scan_time = c(NA, NA),
subset_mslevels = c(1, NA),
zero_samples_mode = "no",
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 : 64
#> zlib : TRUE
#> write_index : TRUE
#> peak_picking_algorithm : vendor
#> vendor_mslevels : c(1, 2)
#> cwt_mslevels : c(1, NA)
#> cwt_min_snr : 0.1
#> cwt_min_peak_spacing : 0.1
#> subset_polarity : any
#> subset_scan_number : c(NA, NA)
#> subset_scan_time : c(NA, NA)
#> subset_mslevels : c(1, NA)
#> zero_samples_mode : no
#> zero_samples_mslevels : c(1, NA)
#> zero_samples_add_missing_flanking_zero_count : 5