with mzxml.read(file) as reader:
for spectrum in reader:
print spectrum['intensity array']
I obtain only information on the first run. This is somehow not enough: the spectrum consists of 95 runs and apparently only the first one can be accessed with the above snippet. Is there a way to access the other 94 spectra?
I know there are 95 spectra because I can open it from R using the readMzXmlData package:
# readMzXmlFile(file)
So up till now I have to use R to do something (sic!) good and nice (double sic). Could you help me, please? I cannot stand R.
Lev Levitsky
Institute for Energy Problems
of Chemical Physics RAS Laboratory of Physical and Chemical Methods for
Structure Analysis Leninsky pr. 38, bld. 2 119334 Moscow Russia tel: +7
499 1378257 fax: +7 499 1378257, +7 499 1378258
matteo...@gmail.com
unread,
Feb 27, 2017, 8:04:04 AM2/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message