-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make GNN plots available as an SPT CLI command and API endpoint (#320)
* move into spt/graphs * sketch CLI * rename fraction plotter * rely on api server implementation for now * accommodate configreader's stripped down toml support * rename db upload_sync * add gnn plot api endpoint * hotfix typos, missing import * add gnn plot config table * finish apiserver endpoint * change upload-sync-small to upload a config file string * have fastapi handle img format validation * remove unused file * Update test artifact * remove weird thread pool stuff * hotfix config reading when calling from apiserver * update analysis_replication for gnn plots * Version bump * Remove some build dependencies --------- Co-authored-by: James Mathews <mail@jmath.read-books.org>
- Loading branch information
1 parent
fcf5342
commit f1ce820
Showing
28 changed files
with
739 additions
and
292 deletions.
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.