You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This** outputs the scores into `output/test_run/score_uns.yaml`. Of note, by passing `--test_run`, the evaluations are done on the test data. To use the actual data (`resources` folder), omit this flag.
95
+
96
+
**This** outputs the scores into `output/score_uns.yaml`. Of note, by passing `--test_run`, the evaluations are done on the test data. To use the actual data (`resources` folder), omit this flag.
96
97
97
98
98
99
## Add a GRN inference method, evaluation metric, or dataset
@@ -109,6 +110,7 @@ To add a new component to the repository, follow the [Documentation](https://gen
Copy file name to clipboardExpand all lines: docs/source/evaluation.rst
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,16 @@ The inferred network should have a tabular format with the following columns:
32
32
See `resources_test/grn_models/op/collectri.h5ad` for an example of the expected format.
33
33
34
34
For the regression based approaches, we used the pseudobulk version of the perturbation data while for the Wasserstein distance, the single cell data are used.
35
-
See 'scripts/single_grn_evaluation.sh' for an example of how to run the evaluation.
36
35
37
36
It should be noted that for Wasserstein distance, we have already computed all possible combination of TF-gene pairs and stored it in the `resources/grn_benchmark/prior/` folder.
38
37
This substantially reduces the computation time during evaluation.
38
+
39
+
To run the evalution for a given GRN and dataset, use the following command:
40
+
```bash
41
+
bash scripts/run_grn_evaluation.sh --prediction=<inferred GRN (e.g.collectri.h5ad)> --save_dir=<e.g.output/> --dataset=<e.g. replogle> --build_images=<true or false. true for the first time running> --run_test=<true or false. true to run on test data>
0 commit comments