-
Notifications
You must be signed in to change notification settings - Fork 14
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
Enable multicova #347
Open
mschwoer
wants to merge
195
commits into
development
Choose a base branch
from
enable_multicova
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Enable multicova #347
Changes from 6 commits
Commits
Show all changes
195 commits
Select commit
Hold shift + click to select a range
33545c5
readd multicova analysis
mschwoer 1b2ad95
make _check_loader static
mschwoer 34a9672
remove unused StatisticUtils class
mschwoer aacf6b8
add a TODO
mschwoer 5631982
fix tests
mschwoer 02d4c75
fix detect-secrets hook and add instructions to Readme
mschwoer dfa51ed
usafe auto-fixes for rule B
mschwoer 7dabb77
manual fixes for rule B
mschwoer ebee7cf
auto fixes for rule UP
mschwoer b411229
auto fixes for rule F
mschwoer d0de8a9
auto fixes for rule F
mschwoer ed26e48
manual fixes for rule F
mschwoer 074150c
remove automatic unsafe fixes
mschwoer 072e38f
fix tests
mschwoer 5c991d4
auto fixes for rule E
mschwoer 8d618cc
manual fixes for rule E
mschwoer 190496d
remove nono-breaking spaces
mschwoer 77dccce
get rif of load_options
mschwoer b423a72
remove PLOTTING_OPTIONS and STATISTIC_OPTIONS from session state
mschwoer 6a9e59a
add comment
mschwoer bec56ac
reduce code duplication in analysis submitting
mschwoer 8d45d50
simplify analysis page
mschwoer 106588e
simplify results page
mschwoer b564d5c
simplify results page
mschwoer f029596
allow to remove results
mschwoer 57a8b83
simplify
mschwoer 03ccb92
make do_analysis return whole object
mschwoer ad9f175
simplify LLM page
mschwoer 488c7ac
clean up session state
mschwoer 92b9040
make API key messages nicer
mschwoer d51d82b
remove unused send_message_save_thread and wait_for_run_completion, t…
mschwoer 7288aef
remove unused switch_backend
mschwoer 4175a52
move tools selection to LLMIntegration
mschwoer 72f11e1
move session state handling to LLM page
mschwoer be04ded
introduce get_print_view
mschwoer 37ede9c
further clean session state
mschwoer 5fe72f7
fix ollama
mschwoer 9cda0ae
make chat display more versatile
mschwoer c4ed533
fix api key handling
mschwoer 1c3fc86
remove unused get_interpretation_options
mschwoer 9db90d4
decouple get_gene_to_prot_id_mapping from session state
mschwoer 33c5cf5
move mapping of gene name to execute_function
mschwoer ba65923
remove GENE_TO_PROT_ID from session state
mschwoer 4d05375
renaming
mschwoer 3cc37bf
renaming
mschwoer b7f02a7
adapt IntensityPlot.py
mschwoer 9d0903e
renaming
mschwoer 3bd1e86
fix perform_dimensionality_reduction
mschwoer 79c5e5d
reorganize llm code
mschwoer 79bcbf7
reorganize llm code
mschwoer 5efb020
add system message to LLM integration constructor
mschwoer bcbc860
make private things private in llm_integration.py
mschwoer 2207f9f
move prompts to a dedicated module
mschwoer ceaa3e4
move a helper to llm
mschwoer e8b5d4d
move get_tool_call_message to prompts
mschwoer 74a7369
simplify
mschwoer 29fbee3
introduce _append_message
mschwoer de5a07a
truncate only internal messages, change truncation logic
mschwoer 7f4d674
add option to display all messages
mschwoer 3f58b57
minor fixes
mschwoer 6e4602d
add button for LLM analysis
mschwoer 1b5c3dc
add some eye candy
mschwoer a9b985a
add some eye candy
mschwoer 0473d03
add "test api" functionality
mschwoer e10db38
allow multiple models in parallel
mschwoer 2785ae2
add support for ollama 8b for testing
mschwoer 2ae765e
adapt README.md
mschwoer 2306929
fix import
mschwoer 559ce85
make link between LLM function definitions and actual definitions mor…
mschwoer 500c60e
use generic perform_dimensionality_reduction
mschwoer 14baaa5
add tests for assistant functions
mschwoer 278a314
add tests for utils functions
mschwoer 457f7b1
add tests for llm_helper and refactor
mschwoer 4f3f919
first bunch of llm_integration unit tests
mschwoer 48b8dd1
next bunch of llm_integration unit tests and refactoring
mschwoer ced836d
next bunch of llm_integration unit tests
mschwoer 3979e07
last bunch of llm_integration unit tests
mschwoer 396a2e0
simplify tests
mschwoer 548ae85
introduce _chat_completion_create
mschwoer d5e9d84
fix imports
mschwoer 721245f
fix some functionality
mschwoer 1386b24
rename api_type -> model_name
mschwoer bc56430
preserve selected model in selectbox
mschwoer e8ff6c2
make connection test more reliable
mschwoer 2e04da8
add option to reset LLM analysis
mschwoer 4d1670c
fix tests
mschwoer 535d973
remove duplication in get_colored_labels_df
mschwoer 302b5bd
remove duplication of _calculate_foldchange
mschwoer be3ee71
remove duplication of _ttest
mschwoer 6546012
remove cached ttest functions
mschwoer 1f33306
reduce code duplication in _draw_fdr_line
mschwoer 191d9c7
reduce code duplication around _add_metadata_column
mschwoer 075f7fa
reduce code duplication around _add_metadata_column
mschwoer 0ddbccc
fix tests
mschwoer 7a5e00a
fix tests
mschwoer 2da982b
move calculate_foldchange to StatisticUtils
mschwoer adc02c7
reduce duplication around _sam()
mschwoer 625f670
get rid of gui_volcano_plot_differential_expression_analysis
mschwoer db709ba
inline some methods
mschwoer 7792b03
make _perform_differential_expression_analysis return explicitly
mschwoer d4bb55f
get rid of get_colored_labels_df
mschwoer 33709d2
refactor volcano call
mschwoer bd959a7
make intensity plot understand gene names
mschwoer 8bcc88b
simplify LLM page
mschwoer 0e81b35
simplify LLM integration
mschwoer f7df251
fix tests
mschwoer fcebd7c
break the API of plot_intensity more transparently
mschwoer 230857d
fix LLM page
mschwoer e887007
use a fixed index_column
mschwoer 543201c
introduce DataHarmonizer
mschwoer 2f65a45
refactor DataHarmonizer
mschwoer 48c8f7e
fix tests
mschwoer 2de39eb
add gene_names to data harmonization
mschwoer a4ddcd3
rename gene_names column in loaders
mschwoer 3b36755
add some TODO and small refactorings
mschwoer 9de29fe
fix tests
mschwoer 48ddc78
fix tests
mschwoer 31a5e05
introduce harmonized column name for 'sample'
mschwoer 095d2de
introduce harmonizing fpr column name for 'sample'
mschwoer f04a6f7
remove loader from session state
mschwoer 0240b3b
fix a frontend bug
mschwoer 918295d
fix imports
mschwoer 0fb59eb
remove metadata_columns from session state
mschwoer 12976d1
fix tests
mschwoer 908daa6
refactor harmonizing of metadata
mschwoer c0c68b9
fix multicova
mschwoer e9ff5d8
add checks to harmonizer
mschwoer 7c79dea
fix harmonizer
mschwoer 6f8fc80
simplify harmonizer
mschwoer 84718ca
fix SpectronautLoader.py
mschwoer a79c2fe
fix and add TODO
mschwoer 4fb0342
simplify Preprocessing page
mschwoer 0a1dfc0
use sample col also in frontend
mschwoer 691d4ed
show analysis result next to parameter selection
mschwoer 8d6d69c
add Analysis class and refactor volcano
mschwoer 61d4f78
remove Entrez.email
mschwoer 2a5dd61
remove Volcano Options
mschwoer d9e83d4
add some TODOs
mschwoer 3edd671
remove biopython dependency
mschwoer 9745b0a
refactor show_widget
mschwoer 943e11c
fix widget logic
mschwoer f8bb1dd
remove accidental commit
mschwoer f77a0a2
refactor dim reduction analysis
mschwoer 7c85c01
add Plotting options class
mschwoer ba8c7bd
remove st_tsne_options
mschwoer 24a8f3f
improve get_all_values
mschwoer 4cf41f8
fix TSNE
mschwoer e37a877
move method_dict
mschwoer 1766107
move method_dict
mschwoer d57a90d
fix frontend
mschwoer 6d3c786
refactor intensityplot and sampledistributionplot analysis
mschwoer d238dd6
add clustermap and NaN-check
mschwoer d8a7592
remove get_plotting_options
mschwoer 7e334f4
refactor diff expression analysis
mschwoer 049fc3b
refactor tukey test analysis
mschwoer 591adde
simplify
mschwoer 99d7644
refactor ancova and anova analysis
mschwoer 06bbc89
refactor ancova and anova analysis
mschwoer 74b05b3
simplify and remove now obsolete code
mschwoer c87de99
move ConstantsClass and make it more widely used
mschwoer b9acd0b
some renamings and fixes
mschwoer 2b2ef2e
bring back dendrogram
mschwoer 8080336
show parameters in plot page & download
mschwoer fdad453
allow to save & download also statistical analysis
mschwoer 6e5aa4a
rename PLOT_LIST
mschwoer a3736f2
reduce code duplication
mschwoer 7554fd9
refactoring
mschwoer 22a152a
refactoring
mschwoer d478b95
refactoring
mschwoer 685a363
refactoring
mschwoer 3f96623
fix csv button
mschwoer d1f8acd
more eye candy
mschwoer 2ffb7f5
refactor to make csv download reusable
mschwoer e85187b
more eye candy
mschwoer 5552546
more eye candy
mschwoer 0c7637b
use toasts
mschwoer 2202a24
polish preprocessing page
mschwoer 55ebeaf
add type hints
mschwoer 3b9783c
make all group comparison widgets always show
mschwoer 22cefd7
add comment
mschwoer 1e651d3
enable ignoring columns by name and get rid of special treatment of e…
mschwoer 1cf39aa
make all pages wide
mschwoer cde4a32
prevent multiple subsequent runs of preprocessing
mschwoer 5e938dc
rename sample_data -> example_data
mschwoer 216bb33
clean up session StateKeys
mschwoer 9cc98c0
renaming
mschwoer 4c8df4a
inline the preprocessing fragment again
mschwoer b0afa49
some simplifications on overview
mschwoer e2803df
fix test for toasts
mschwoer be151ab
fix import
mschwoer 967f351
fix tests
mschwoer fa531e9
add changes/comments requested by code review
mschwoer 1610bdf
Merge branch 'refactor_analysis_review_comments' into enable_multicova
mschwoer e88e909
fix merge issues
mschwoer 085cec3
fix merge issues
mschwoer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.
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.
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.
https://plotly.com/python-api-reference/generated/generated/plotly.graph_objects.Figure.update_traces.html + selector to set individual color or something like:
plot.for_each_trace(lambda t: t.update(marker_color=color_dict.get(t.legendgroup))