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: unusually large multi-target polarity plot #189

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

ptajvar
Copy link
Contributor

@ptajvar ptajvar commented Sep 16, 2024

An unusually large plot is created when selecting multiple targets in plot_polarity_diff_volcano. The bug is caused by not setting the index for target_differential_polarity to be the marker, resulting in index mismatch when calculating the mean polarity for markers in the target.

In addition the title for differential polarity/colocalization is now changed to "Differential polarity/colocalization between {target} and {reference}" rather than "between {reference} and {target}" to indicate that a positive value indicates higher value in target.

Fixes: EXE-2009

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Existing unit tests and the tutorial code.

PR checklist:

  • This comment contains a description of changes (with reason).
  • My changes generate no new warnings
  • I have checked my code and documentation and corrected any misspellings

@ptajvar ptajvar marked this pull request as ready for review September 16, 2024 14:42
@ptajvar ptajvar merged commit 848fa42 into dev Sep 16, 2024
14 checks passed
@ptajvar ptajvar deleted the feature/exe-2009-fix-multi-target-polarity branch September 16, 2024 15:05
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.

2 participants