feat(components): add gs-mutation-cooccurrence component#1130
Draft
fhennig wants to merge 7 commits into
Draft
Conversation
Adds a new `gs-mutation-cooccurrence` web component that visualizes mutation co-occurrence patterns across time periods as a heatmap. Each row represents a unique combination of alleles at the specified positions (using LAPIS aggregated field syntax: `[501]`, `S[501]`, `ORF1a[501]`). Left columns show the allele at each position; right columns show the proportion of sequences with that pattern per time period, colored by frequency. Implementation follows the 3-layer architecture: - CooccurrenceOverTimeDataMap (Map2dBase subclass with own serializer) - queryMutationCooccurrence (fetchAggregated with position fields) - CooccurrenceOverTimeGrid (new grid sharing ProportionCell etc.) - gs-mutation-cooccurrence Lit wrapper Shared grid pieces (ProportionCell, FeaturesOverTimeGridDisplay, styleGridHeader, getTooltipPosition) extracted from features-over-time-grid into features-over-time-grid-shared so both grids can use them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ooccurrence Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…occurrence stories Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…eaders Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…gs-mutation-cooccurrence-over-time Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… tooltip duplication Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Adds a new
gs-mutation-cooccurrenceweb component that visualizes mutation co-occurrence patterns across time periods as a heatmap.Each row represents a unique combination of alleles at the specified positions (using LAPIS aggregated field syntax:
[501],S[501],ORF1a[501]). Left columns show the allele at each position; right columns show the proportion of sequences with that pattern per time period, colored by frequency.Implementation follows the 3-layer architecture:
Shared grid pieces (ProportionCell, FeaturesOverTimeGridDisplay, styleGridHeader, getTooltipPosition) extracted from features-over-time-grid into features-over-time-grid-shared so both grids can use them.
resolves #
Summary
Screenshot
PR Checklist