Skip to content

Ways to export the spectra object (S4 method object) to a dataframe? #9

Description

@gmhhope

Hi Johannes,

Since I am working on several dozens of MS2 spectra, rather than one cysteine, I need to try to export the information stored in the spectra objects or .mgf files to a data frame (and thus can be exported as csv). I am not familiar with S4 method object so I am still struggling to find a way to handle that?

I know I can manually access individual SpectraVariables and write a loop for it. But I think there must be some more clever ways to do that.

Please let me know your suggestions! Always appreciate it!

Best regards,
Minghao Gong

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