-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make GNN plots available as an SPT CLI command and API endpoint #320
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
78c5a09
move into spt/graphs
CarlinLiao dafa78b
sketch CLI
CarlinLiao cb2df9c
rename fraction plotter
CarlinLiao dec34b7
rely on api server implementation for now
CarlinLiao 9bc7176
accommodate configreader's stripped down toml support
CarlinLiao b6e446d
rename db upload_sync
CarlinLiao 3e596d5
add gnn plot api endpoint
CarlinLiao fbedc78
hotfix typos, missing import
CarlinLiao e91859d
add gnn plot config table
CarlinLiao 6e426d3
finish apiserver endpoint
CarlinLiao 95fd944
change upload-sync-small to upload a config file string
CarlinLiao 499d1ab
have fastapi handle img format validation
CarlinLiao 71a05be
remove unused file
CarlinLiao b5892ca
Update test artifact
jimmymathews 013132a
remove weird thread pool stuff
CarlinLiao 6f59e2b
hotfix config reading when calling from apiserver
CarlinLiao 81f44b7
update analysis_replication for gnn plots
CarlinLiao b4b3efb
Version bump
jimmymathews b2ae1b0
Remove some build dependencies
jimmymathews 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
15 changes: 15 additions & 0 deletions
15
analysis_replication/gnn_figure/melanoma_intralesional_il2.config
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[general] | ||
study_name = Melanoma intralesional IL2 | ||
|
||
[plot-importance-fractions] | ||
host_name = http://oncopathtk.org/api | ||
phenotypes = Tumor, Adipocyte or Langerhans cell, Natural killer cell, CD4+ T cell, Nerve, B cell, CD4+/CD8+ T cell, CD4+ regulatory T cell, CD8+ natural killer T cell, CD8+ regulatory T cell, CD8+ T cell, Double negative regulatory T cell, T cell/null phenotype, Natural killer T cell, CD4+ natural killer T cell | ||
plugins = cg-gnn, graph-transformer | ||
figure_size = 11, 8 | ||
orientation = horizontal | ||
[plot-importance-fractions.cohort0] | ||
index_int = 1 | ||
label = Non-responder | ||
[plot-importance-fractions.cohort1] | ||
index_int = 3 | ||
label = Responder |
63 changes: 0 additions & 63 deletions
63
analysis_replication/gnn_figure/melanoma_intralesional_il2.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[general] | ||
study_name = Urothelial ICI | ||
|
||
[plot-importance-fractions] | ||
host_name = http://oncopathtk.org/api | ||
phenotypes = Tumor, CD4- CD8- T cell, T cytotoxic cell, T helper cell, Macrophage, intratumoral CD3+ LAG3+, Regulatory T cell | ||
plugins = cg-gnn, graph-transformer | ||
figure_size = 14, 5 | ||
orientation = vertical | ||
[plot-importance-fractions.cohort0] | ||
index_int = 1 | ||
label = Responder | ||
[plot-importance-fractions.cohort1] | ||
index_int = 2 | ||
label = Non-responder |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[general] | ||
db_config_file_path = build/db/.spt_db.config.local | ||
study_name = Melanoma intralesional IL2 | ||
|
||
[upload-importances] | ||
plugin_used = graph-transformer | ||
datetime_of_run = 2023-10-02 10:46 AM |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: spt | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.11 | ||
- libpq |
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.
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.
Both old and new versions of this build script reach into the test directory for data.