How to define data directories and syntax before using readMSData in MSnBase
0
0
Entering edit mode
@malcolmjctaylor-14793
Last seen 3.8 years ago

Please can someone give me the correct syntax to use to define directories and paths to a directory containing either mzxML or mzML files.

I am trying the following: file <- dir(system.file(package = "MSnbase", dir = "phenolics"),
            full.names = TRUE, pattern = "mzML$")
rawdata <- readMSData(file, msLevel = 1, verbose = FALSE)

​where I have several mzML files in a directory "phenolics" on my C drive.  I get the error saying that at least one function per file needs to be defined. The data was collected using a Waters Synapt G2 and converted using msConvert (gui version) - it contains MS1 and MS2 data as well as lockmass and UV data (4 functions).

 

I cannot get this to work even if I use mzML files off the web.  Please advise.  Thanks Malcolm Taylor

 


 

 

 

mzR/ msnBase • 304 views
ADD COMMENT

Login before adding your answer.

Traffic: 234 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6