Search
Question: How to define data directories and syntax before using readMSData in MSnBase
0
gravatar for malcolmjctaylor
6 months ago by
malcolmjctaylor0 wrote:

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

 


 

 

 

ADD COMMENTlink written 6 months ago by malcolmjctaylor0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 314 users visited in the last hour