Micah P. Dombrowski / Nov 01 2018
Remix of R Template by Nextjournal
mzR Compile/Install
mzR Compile/Install
apt-get update
apt-get install -y libnetcdf-dev
apt-get clean
source("https://bioconductor.org/biocLite.R") biocLite("mzR")
require(mzR) # download E_coli_ion_trap.mzXML from http://cpm.lumc.nl/export/public_datasets/ aa <- openMSfile(E_coli_ion_trap.mzXML↩) runInfo(aa) # should return metadata, scanCount = 32654 etc. pl <- peaks(aa, 10000) # get peaklist from one spectrum plot(pl, type='h', lwd=1, xlab='m/z', ylab='intensity') # plot spectrum