how to import a CDF file in R ?
2
0
Entering edit mode
Nemo ▴ 80
@nemo-7332
Last seen 6.9 years ago
India

There are many packages avaiable for GC/MS analysis, however, all of them just import data from their own package.

Mz question is that if I have a CDF data saved in the desktop, how can I read it in R?

any comment is appreciated 

 

xcms metaMS MSeasy r • 4.0k views
ADD COMMENT
0
Entering edit mode
Bernd Fischer ▴ 550
@bernd-fischer-5348
Last seen 7.9 years ago
Germany / Heidelberg / DKFZ

You can try the package mzR to read in the mass spec data. Depending on the CDF file format, this may be the best way.

Other possibilities to read in netCDF files are the packages rhdf5 or ncdf.

 

ADD COMMENT
0
Entering edit mode

@Bernd Fischer thanks for the comment but none of the above packages had a solution. the data has a cdf format but i dont know the exact structure to retrive info based on ncdf. the rhdf5 is also not working fine for me (at least i could not use it). The mzR is very limited and uses mzXML format .

ADD REPLY
0
Entering edit mode
@peerkarmaus-8893
Last seen 9.2 years ago
United States

It might help if you convert your CDF with ProteoWizard to mzXML in centroided mode: https://xcmsonline.scripps.edu/docs/fileformats.html

then use mzR

ADD COMMENT

Login before adding your answer.

Traffic: 493 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