Repository navigation
Explore results: sample correlation heatmap - #154
Open
t0mdavid-m wants to merge 1 commit into
Open
t0mdavid-m wants to merge 1 commit into
t0mdavid-m wants to merge 1 commit into
Conversation
A clustered heatmap of the Pearson correlation between every two samples' log2 protein abundances, over the proteins measured in both, before missing values are filled in. Samples whose median correlation is well below the others' are named under it. Part of the Quality control view and available to every view of the user's own; computed over the whole experiment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FkEGekouGeZB1Ft14Yiqvx
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Requested by Tom · project thread
What
Explore results gets a new Sample correlation component (group Quantification). It is a clustered heatmap of the Pearson correlation between the log2 protein abundances of every two samples, with the group bar on top. Replicates of one group should cluster together. A sample that doesn't, or a run that failed, stands out.
EXPERIMENT_WIDE) and needs quantification plus two or more samples (NEEDS), like the heatmaps.The screenshots show the six example yeast/UPS2 files, quantified with match between runs.
How
src/common/sample_correlation.py(Streamlit-free) hassample_correlation,shared_proteins,median_correlation,median_shared_proteinsandleast_similar.src/viewer/panels/sample_correlation.pydraws it with openms-insight'sClusteredHeatmap, with Viridis colours and r as the intensity.heatmap_clustered.group_colors(), so both heatmaps colour a group the same way.Checks
pytest test_gui.py tests/: 978 passed, 3 skipped. This includes the newtests/test_sample_correlation.py, and the catalog expectations intests/test_viewer_analyses.pyare updated for the new component.--errors-onlyis clean on the changed files.Generated by Claude Code