-
Notifications
You must be signed in to change notification settings - Fork 27
Search and visualize biological pathways (SCP-5982) #2206
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
Conversation
048be75
to
72fda40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really comprehensive feature! I'm excited to see this in action. This absolutely should get a feature announcement and also a socials post. Do you think we need a Zendesk wiki page to document the functionality as well?
/** Indicate whether pathway view should be available for this study */ | ||
function getIsEligibleForPathwayExplore(speciesList) { | ||
const isEligibleForPathwayExplore = ( | ||
speciesList.length === 1 && speciesList[0] === 'Homo sapiens' && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first I was worried that this would mean a lot of our older studies wouldn't be able to use this feature since they lack species data, but in actuality it's only 66 public studies that are all before accession SCP260
.
Thanks for the review! Good points on getting the word out. I opened a few tickets for that, and possible species-backfill. |
This enables researchers to explore how gene expression relates to disease mechanisms and gene regulatory networks.
Overview
Previously, users could only search for genes in a study. This was useful for narrow analyses, or when users knew which genes they wanted to search.
Now users can search for pathways, too. Pathways are searchable by title -- higher-level concepts like diseases, phenotypes, and biological processes. Upon selecting a pathway from the search autocomplete menu, a biological pathway diagram is drawn. These pathways comprise nodes (genes, metabolites, diseases, etc.) and directed interactions among them, in cellular context.
Hovering over a gene shows its expression metrics. These reuse "scaled mean expression" and "percent of cells expressing" metrics from dot plots, like #2172. Clicking a pathway node in the diagram navigates to a new pathway.
Descriptions and cell type annotations for the pathway are also shown.
Video
Here's how it looks!
Explore_biological_pathways__SCP_2025-04-24.mov
The pathways come from WikiPathways, and use Ideogram.js integrations. This feature is limited to human studies for now, as those diagrams are the highest-quality. Future work might use orthology projection to extend support to mouse and other organisms.
Test
Automated tests verify new behaviors. Optional manual tests:
pathway_expression_overlay
feature flag to true.Further context
This satisfies SCP-5982, SCP-5977, SCP-5945, and other tickets.