Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ensure top max-expressing tissue is shown, robustify curve shift #367

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

eweitz
Copy link
Owner

@eweitz eweitz commented Jan 16, 2024

This ensures the tissue with the maximum expression across all tissues is shown. It also fixes an edge case with reframing.

Previously (#366), the "Reference tissues by expression" list showed the top 10 tissues as sorted only by median. In rare but important cases, this would exclude tissues that had a remarkably high maximum expression for a given gene. Such rare cases can be biologically relevant. For example, the gene XDH is related to milk synthesis, and while it has extremely high maximum expression in the tissue "Breast - mammary gland", its median expression there is very low.

Now, such edge cases are intuitively accounted for. Specifically, if a tissue has the highest maximum expression but isn't among the top 10 tissues by median expression, then the last tissue in that list is replaced by the top max tissue. A brief inspection suggests the top max tissue is usually more biologically relevant than the 10-highest-by-median-expression tissue.

Here's how it looks!

Ensure_top_max_tissue__Ideogram_2024-01-15.mov

@eweitz eweitz merged commit 31a721f into master Jan 16, 2024
@eweitz eweitz deleted the refine-tissue-expression branch January 16, 2024 03:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant