convert_files: Covert Files

Description Usage Arguments Details

View source: R/convert_files.R

Description

Convert vendor specific mass spectrometry files to the open .mzML format. This functions makes a system call to docker in order to convert files. Conversion arguments should be supplied to the args parameter exactly as they would be for msconvert but omitting the --filter prefix.

Usage

1
convert_files(files, outpath = NULL, msconvert_args = c(), docker_args = c())

Arguments

files

the absolute filepath vendor specific files to be converted

outpath

an optional filepath where .mzML files will be saved to. If NULL then .mzML files are saved to the same location as input files.

msconvert_args

a character vector of arguments to pass to msconvert.

docker_args

additional arguments to pass to docker run

Details

For example to convert a file with vendor specific centroiding only;

convert_files(rawFiles, outpath = NULL, msconvert_args = 'peakPicking true 1-')

To only retain positive mode data;

convert_files(rawFiles, outpath = NULL, msconvert_args = c('peakPicking true 1-', 'polarity positive'))


wilsontom/msconverteR documentation built on Sept. 23, 2021, 12:54 a.m.