Skip to content

precursorMz of hmdb Spectra object are NAs #11

@gmhhope

Description

@gmhhope

Hi Johannes,

I just realized that precursorMz is another important check on the matched spectra between samples and database. Only if both precursorMz matched should the spectra comparison meaningful. I did find precursorMz in massbank spectra object. However, when I try hmdb, I don't have them in your file.

Do I have other ways to have the information or if you would like to include them in the future version?

Thanks,
Minghao Gong

hmdb$precursorMz

hmdb$precursorMz
   [1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
  [25] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
  [49] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
  [73] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

hmdb only contains id but not other information (e.g., name)?

BEGIN IONS
TITLE=msLevel 2; retentionTime ; scanNum 
msLevel=2
centroided=TRUE
polarity=1
spectrum_id=447554
compound_id=HMDB0060475
predicted=FALSE
splash=splash10-001i-9300000000-f6470a0cfd89aa7eb825
instrument_type=LC-ESI-ITFT
59.41436 1.839163
74.005951 3.238599
84.042999 4.241357
84.044373 100
84.08078 18.949596
85.084038 7.455676
102.054817 15.184331
120.052422 2.581904
130.049911 12.549987
130.086075 5.222175
131.089203 2.796684
148.042465 5.426773
148.060211 2.279714
189.786194 1.770397
291.560547 1.73985
299.229797 4.360426
299.239014 4.217695
END IONS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions