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][FEATURE] add zeros to chroms/mobs #66

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

jcharkow
Copy link
Collaborator

@jcharkow jcharkow commented Jan 4, 2024

Context:

Low intensity chromatograms look strange because there are a bunch of zero points per transition that are filtered out.

Solution:

Change to_chromatogram and to_mobilogram methods to function across all transitions. Thus if one transition is present and the rest are 0, a 0 point will be added. This leads to plots that make more sense.

Before:
image
After:
image

low intensiyt chromatogram/mobilograms can look strange because no "0"
is added for if the transition is not present. Change to_chromatogram()
and to_mobilogram() conversion functions to add a 0 intensity point so
that chromatograms do not look as strange.
@jcharkow jcharkow requested a review from singjc January 4, 2024 21:46
Copy link
Collaborator

@singjc singjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, will merge.

@singjc singjc merged commit 52b30ff into patch/masterRefactor Jan 4, 2024
@singjc singjc deleted the patch/mzMLLoaderZeros branch January 7, 2024 05:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants