Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromatogram #1

Open
tobiasko opened this issue Jun 23, 2019 · 4 comments
Open

Chromatogram #1

tobiasko opened this issue Jun 23, 2019 · 4 comments

Comments

@tobiasko
Copy link

Hi everyone,

are there any plans for an OO representation of chromatograms? My idea would be to derive Chromatogram objects from Spectra using an aggregation function and subsetting.

Example: TIC for all MS2 within 5-10 min of RT from Spectra instance S

all MS2 -> subset Spectra on MSlevel
within 5-10 min of RT -> subset Spectra on rtime
aggregation = sum(subset(S))

results in Chromatogram with intensity slot (time resolved intensity vector) plus meaningful metadata inherited from S and on how it was constructed (parameters used for construction)

What do you think?

@lgatto
Copy link
Member

lgatto commented Jun 23, 2019

There is a Chromatograms package in the planning, that will be developed from what is currently available in MSnbase (1, 2) using similar design principles as we currently have in Spectra.

@lgatto lgatto transferred this issue from rformassspectrometry/Spectra Jun 23, 2019
@lgatto
Copy link
Member

lgatto commented Jun 23, 2019

See also here for broader plans.

@jorainer
Copy link
Member

Just adding to @lgatto's answer: you can extract chromatographic data with the chromatogram method defined in MSnbase (and also xcms) packages - and this returns the above menationed objects. They should also support MRM/SRM data out of the box.

@tobiasko
Copy link
Author

Cool. Thx for the updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants