-
Notifications
You must be signed in to change notification settings - Fork 3
[feat] Add in a group of meta metrics to allow submetric running #129
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2b12dff
[feat] Add in a group of meta metrics to allow submetric running
ehuan2 523df2b
[feat] Add yaml config-based meta perturbation metric
ehuan2 9bf50cd
[feat] Add in random baseline for perturbation
ehuan2 5e615c2
[feat] Add aggregate information for correct direction
ehuan2 b36c825
[feat] Add in initial filter ability for test ann data in perturbations
ehuan2 452344c
[fix] Remove misc.json
ehuan2 a47d5ef
[feat] Finish building meta perturbation with filtered cells
ehuan2 b74541c
[feat] Add in the full PGC line, where PGC skips GC instead
ehuan2 8534ce1
[fix] Fix the random number of genes perturbed
ehuan2 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| datasets: | ||
| - tag: defaultGarciaAlonsoPseudotimeEvenCells | ||
|
|
||
| method: | ||
| name: ot_cfm | ||
| train_and_test_script: ./methods/ot_cfm/train_and_test.sh | ||
|
|
||
| metrics: | ||
| - name: MetaPerturbation |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,42 @@ | ||
| datasets: | ||
| - tag: GarciaAlonsoGC | ||
| # - tag: GarciaAlonsoGC | ||
| - tag: defaultGarciaAlonsoPseudotimeEvenCells | ||
|
|
||
| method: | ||
| name: ot_cfm | ||
| train_and_test_script: ./methods/ot_cfm/train_and_test.sh | ||
|
|
||
| metrics: | ||
| - name: PerturbationCellTypeProportion | ||
| # this specifies the cell type we want to perturb | ||
| # and we'll be filtering out the cells | ||
| perturbation_set_config: | ||
| - gene_col_name: gene_symbols | ||
| knockin_genes: ['SOX4', 'EGR4', 'KLF6', 'KLF7'] | ||
| knockout_genes: ['STRA8', 'ZGLP1', 'ZIC1'] | ||
| timepoint_idx: 0 | ||
| filter_cell_type: 'GC' | ||
| filter_tp_idx: 5 | ||
| perturbations: | ||
| - gene_col_name: gene_symbols | ||
| knockin_genes: ['SOX4', 'EGR4', 'KLF6', 'KLF7'] | ||
| knockout_genes: ['STRA8', 'ZGLP1', 'ZIC1'] | ||
| timepoint_idx: 0 # this should be building off of filter_tp_idx | ||
| trajectory_infer_model: | ||
| name: CellTypist | ||
| renormalize: True | ||
| - name: PerturbationCellTypeProportion | ||
| perturbation_set_config: | ||
| - gene_col_name: gene_symbols | ||
| knockin_genes: ['STRA8', 'ZGLP1', 'ZIC1'] | ||
| knockout_genes: ['SOX4', 'EGR4', 'KLF6', 'KLF7'] | ||
| timepoint_idx: 0 | ||
| filter_cell_type: 'GC' | ||
| filter_tp_idx: 5 | ||
| perturbations: | ||
| - gene_col_name: gene_symbols | ||
| knockin_genes: ['STRA8', 'ZGLP1', 'ZIC1'] | ||
| knockout_genes: ['SOX4', 'EGR4', 'KLF6', 'KLF7'] | ||
| timepoint_idx: 0 | ||
| trajectory_infer_model: | ||
| name: CellTypist | ||
| renormalize: True | ||
| - name: PerturbationCellTypeProportion | ||
| perturbation_set_config: | ||
| filter_cell_type: 'GC' | ||
| filter_tp_idx: 5 | ||
| trajectory_infer_model: | ||
| name: CellTypist | ||
| renormalize: True |
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
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
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
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
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
Empty file.
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.
Uh oh!
There was an error while loading. Please reload this page.