read Thermo .RAW data into R
rawReadeR
is an R/C++ API to the MSFileReader.dll
. rawReadeR
allows for m/z profiles and scan header data to be extracted from .RAW
files without the need for manual extraction using Xcalibur
or conversion to a more universal format (.mzML
, .mZXML
, etc...)
N.B rawReadeR
can only be installed on a Windows Operating System. Microsoft Visual Studio also needs to be installed to allow for compilation of .cpp
files.
MSFileReader
MSFileReader
filepath needs to be C:\Thermo\MSFileReader.XRawfile2.dll
.dll
can then be registered using the following command from a Command Prompt with Administrator privileges
regsvr32 C:\Thermo\MSFileReader.XRawfile2.dll
git clone https://github.com/wilsontom/rawReadeR
To prevent having to distibute compied executables with the package, these need to be compiled prior to package installation. Start a new R session and enter the following;
setwd("rawReadeR")
options(VSPATH = "<path_to_visual_studio_vsvars32.bat>")
source("rawReadeR/R/compileAll.R")
compileAll(getwd())
Finally, build and install.
R CMD build RawReadeR
R CMD INSTALL RawReadeR_0.1.0_tar.gz
To check everything has compiled and installed ok...
library(rawReadeR)
testPackage(scans = c(1:10)
This package was inspired by a similar effort using MATLAB and the mex complier. Also, Galaxy-M contains a excellent Python parser for MSfilereader which was helpful during development of this package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.