convert_to_mzML {ptairMS} | R Documentation |
convert_to_mzML create a mzML file from a h5 file in the same directory
with the writeMLData
of the MSnbase
package
convert_to_mzML(file)
file |
A .h5 file path |
create a mzML file in the same directory of the h5 input file
library(ptairData) filePathRaw <- system.file('extdata/exhaledAir/ind1', 'ind1-1.h5', package = 'ptairData') # write a mzml file in the same directory convert_to_mzML(filePathRaw) file_mzML <- gsub(".h5", ".mzML", filePathRaw) file.remove(file_mzML)