O'Reilly logo

Bioinformatics with R Cookbook by Paurush Praveen Sinha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading the MS data of the mzXML/mzML format

The data available in the MS community is usually in the form of an XML file. It contains different fields with the allocated information. In order to start working with the MS data, you need to import this data into the R session. This recipe presents the steps to import XML-format-based MS data in the R workspace.

Getting ready

The recipe needs some sample data to work with. The data can be obtained from web resources or from within R packages. Besides the data, we will also need some R packages, which will be explained in the How to do it... section of this recipe. The example files used in this recipe are also provided with the code files on the book's web page.

How to do it…

The following steps will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required