You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, because the centroided attribute is not set for every <scan> tag individually, but instead is set just once for the entire experiment in <dataProcessing>, mzR does not detect that these are centroided spectra:
In comparison, C18_CON_BASA_688344.mzXML from the same accession has the centroided attribute set for every individual spectrum and mzR correctly detects that these are all centroided spectra.
Is there a workaround for this, to detect that the HILIC file does indeed contain centroided spectra?
There's an isCentroided() method from the Spectra that will estimate the mode from the spectra. Here's the relevant extract from ?isCentroided:
• ‘isCentroided()’: a heuristic approach assessing if the
spectra in ‘object’ are in profile or centroided mode. The
function takes the ‘qtl’th quantile top peaks, then
calculates the difference between adjacent m/z value and
returns ‘TRUE’ if the first quartile is greater than ‘k’.
(See ‘Spectra:::.isCentroided()’ for the code.)
The attached file
HILIC_CON_BASA_567795.mzXML
(from MTBLS103) contains centroided MS spectra:However, because the centroided attribute is not set for every
<scan>
tag individually, but instead is set just once for the entire experiment in<dataProcessing>
, mzR does not detect that these are centroided spectra:In comparison,
C18_CON_BASA_688344.mzXML
from the same accession has thecentroided
attribute set for every individual spectrum and mzR correctly detects that these are all centroided spectra.Is there a workaround for this, to detect that the HILIC file does indeed contain centroided spectra?
Files (too big for upload):
C18_CON_BASA_688344.mzXML
HILIC_CON_BASA_567795.mzXML
The text was updated successfully, but these errors were encountered: