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

Request for auc.rawrrChromatogram #68

Open
rolivella opened this issue Nov 2, 2023 · 3 comments
Open

Request for auc.rawrrChromatogram #68

rolivella opened this issue Nov 2, 2023 · 3 comments
Assignees

Comments

@rolivella
Copy link

Hello!

I would like to suggest a little bit more informative output for rawrr:::auc.rawrrChromatogram fucntion. For instance with observed RT and mz, something like:

XIC generated from 20230525_QCN1_001_03.raw consisting of 1454 data points.
   Filter : ms
   m/z : 259.0925
   m/z obs: 259.0889
   RT obs: 12.4 min
   Tolerance : 10 ppm
   RT : 0.001045075 - 41.0016 min
[1] 159020992

By "obs" I mean the RT and mz where the rawrr:::auc.rawrrChromatogram fucntion found the peak for integrating the area.

This will be very useful for us and in general for any rawrr user.

Thanks!

@cpanse cpanse self-assigned this Nov 5, 2023
@tobiasko
Copy link
Collaborator

tobiasko commented Nov 6, 2023

To my knowledge rawrr:::auc.rawrrChromatogram returns the integral with f(x) being the chromatogram. It is not a peak picker. Accordingly, the return value of the function is a real value.

@rolivella
Copy link
Author

Maybe you can compute the local maximum as a measure of the observed RT and mz

@tobiasko
Copy link
Collaborator

tobiasko commented Nov 6, 2023

The m/z is set by readChromatogram and its parameters. Again, the auc. function is not a peak caller, it just integrates. There is general R functions to retrieve global and local maxima (inflection points).

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