Closed NotEvenWron9 closed 1 year ago
Hm, indeed intensities of 0 and 255 looks suspicious. Also interesting is that mz acquisition starts with 600.
I have difficulties looking into that with only the excerpt of the data above. Could you attach the mzML here ? On github you might have to disguise it as data.zip.txt . As an alternative, you could have a look at that data using mscat (https://proteowizard.sourceforge.io/tools/tools_base.html) to see if that gives you the same for the first spectrum. Yours, Steffen
Hi, thanks @sneumann, this is the mzML file I have tested. And I think the mz acquisition starts with 600 is because we set scan window lower limit to 600. In addition, the mscat gives the same result as peaks(). test.zip.txt
Thanks. The good news: mscat and mzR agree on the intensities (although not exactly on the m/z, maybe a different file ?!)
# scanNumber msLevel m/z intensity
ms1 600.1779 255.00
ms1 600.1814 0.00
ms1 600.6315 0.00
ms1 600.6349 255.00
ms1 600.6384 0.00
ms1 600.7596 0.00
ms1 600.7631 255.00
ms1 600.7665 255.00
ms1 600.7700 255.00
Each vendor / instrument has different noise / maximum intensities. Yours seem to be <1000 :
> library(xcms)
> ms <- readMSData(files=c("YF_sample_STD_10ug_neg4.mzML"), mode = "onDisk")
> summary(unlist(intensity(ms)))
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.000 0.000 3.000 6.277 8.000 765.000
Also note that there seems to be two differen scan types:
So you'd need to come up with a way to separate or combine them, depending on how they were measured and are intended to be used.
Yours, Steffen
Thanks, it is a different file, I take a subset of the first mzML file to make it smalller, then I can upload it. And when I convert the Wiff file to mzML using msconvertGUI in peak picking mode, peaks() can get right intensities.
Hi, I am trying to extract ms data using peaks(), but I found the intensity is starnge. The mzML file was converted from wiff file using mscovertGUI. And the wiff file was generated in Data Dependent Acquisition mode. Here is the result:
And the binaryDataArray of intensity in mzML file is like this: