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

Fix for updates in mzR: read centroiding information from files #325

Closed
jorainer opened this issue Mar 23, 2018 · 3 comments
Closed

Fix for updates in mzR: read centroiding information from files #325

jorainer opened this issue Mar 23, 2018 · 3 comments
Assignees

Comments

@jorainer
Copy link
Collaborator

Fix for the changes in mzR that add column centroided to the data.frame returned by mzR::header (PR sneumann/mzR#153 in mzR).

Since there is also the parameter centroided. in readMSData I would suggest to use in the default case (i.e. centroided. = NA) the centroiding information reported in the mzML or mzXML, if centroided. = TRUE or FALSE it will overwrite the information read from the raw files.

@jorainer jorainer self-assigned this Mar 23, 2018
@lgatto
Copy link
Owner

lgatto commented Mar 23, 2018

Since there is also the parameter centroided. in readMSData I would suggest to use in the default case (i.e. centroided. = NA) the centroiding information reported in the mzML or mzXML, if centroided. = TRUE or FALSE it will overwrite the information read from the raw files.

Yes, excellent idea. There's already a isCentroidedFromFile function that might be useful.

@jorainer
Copy link
Collaborator Author

The changes in the sneumann/mzR#153 PR in mzR would make this function obsolete. mzR's pwiz module reads centroiding information directly from the file and returns it in the header (column "centroided").

jorainer added a commit that referenced this issue Mar 28, 2018
- Use the centroided information reported by mzR::header in readMSData.
- Ensure that centroiding information is also provided to the writeMSData.
- Fix unit tests and update documentation.
@lgatto
Copy link
Owner

lgatto commented Apr 4, 2018

I suppose this can be closed too?

@lgatto lgatto closed this as completed Apr 4, 2018
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

2 participants