Search and visualize biological pathways (SCP-5982)#2206
Merged
eweitz merged 72 commits intodevelopmentfrom Apr 28, 2025
Merged
Search and visualize biological pathways (SCP-5982)#2206eweitz merged 72 commits intodevelopmentfrom
eweitz merged 72 commits intodevelopmentfrom
Conversation
048be75 to
72fda40
Compare
bistline
approved these changes
Apr 28, 2025
Contributor
bistline
left a comment
There was a problem hiding this comment.
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' && |
Contributor
There was a problem hiding this comment.
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.
Member
Author
|
Thanks for the review! Good points on getting the word out. I opened a few tickets for that, and possible species-backfill. |
This was referenced May 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_overlayfeature flag to true.Further context
This satisfies SCP-5982, SCP-5977, SCP-5945, and other tickets.