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

mz values are not increasingly ordered in database #2

Closed
jorainer opened this issue Aug 3, 2022 · 1 comment
Closed

mz values are not increasingly ordered in database #2

jorainer opened this issue Aug 3, 2022 · 1 comment

Comments

@jorainer
Copy link
Member

jorainer commented Aug 3, 2022

Need to order peaks for each spectrum in increasing order.

@jorainer
Copy link
Member Author

jorainer commented Aug 4, 2022

There are two possibilities:

  1. use a query order by MZ, but this would require the m/z values to be stored as numeric values instead of text values.
  2. for each peak variable get in addition the m/z values and order the data in R.

There would be two possibilities for the second approach: order the full data frame before splitting by spectrum or iterating through the peak matrices and order each spectrum separately.

jorainer added a commit that referenced this issue Aug 4, 2022
- By default peaks are ordered by m/z value (issue #2).
- Add option that disables ordering.
@jorainer jorainer closed this as completed Aug 4, 2022
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

1 participant