Simplify CausalBench sources, preprocessing, and verification notes
Browse files- real/causalbench/README.md +10 -4
real/causalbench/README.md
CHANGED
|
@@ -11,7 +11,13 @@ Each gzip TSV contains gene-expression columns (Ensembl IDs) and an `interventio
|
|
| 11 |
|
| 12 |
## Sources and preprocessing
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
The reference is the authors' [preprocessing implementation at commit 1a2143c](https://github.com/causalbench/causalbench/blob/1a2143cffdc85f835b41ce8d52034be1bf903e71/causalscbench/data_access/utils/preprocessing.py), with strong-perturbation filtering enabled:
|
| 17 |
|
|
@@ -22,8 +28,8 @@ The reference is the authors' [preprocessing implementation at commit 1a2143c](h
|
|
| 22 |
|
| 23 |
K562 used the original function. RPE1 used a memory-saving implementation of the same rules. [Raw inputs, preparation code, and environment](https://huggingface.co/datasets/huggingbahl21/causalbench) are available for reproduction.
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
|
|
|
| 11 |
|
| 12 |
## Sources and preprocessing
|
| 13 |
|
| 14 |
+
The downloaded inputs were:
|
| 15 |
+
|
| 16 |
+
- `k562.h5ad`: [K562 count matrix from Figshare, file 35773219](https://ndownloader.figshare.com/files/35773219).
|
| 17 |
+
- `rpe1.h5ad`: [RPE1 count matrix from Figshare, file 35775606](https://ndownloader.figshare.com/files/35775606).
|
| 18 |
+
- `summary_stats.xlsx`: [Replogle et al. supplementary workbook (`1-s2.0-S0092867422005979-mmc2.xlsx`)](https://ars.els-cdn.com/content/image/1-s2.0-S0092867422005979-mmc2.xlsx), using sheets `TabB_K562_day6_summary_stat` and `TabC_RPE1_summary_statistic`.
|
| 19 |
+
|
| 20 |
+
The names above are the local filenames used during preparation.
|
| 21 |
|
| 22 |
The reference is the authors' [preprocessing implementation at commit 1a2143c](https://github.com/causalbench/causalbench/blob/1a2143cffdc85f835b41ce8d52034be1bf903e71/causalscbench/data_access/utils/preprocessing.py), with strong-perturbation filtering enabled:
|
| 23 |
|
|
|
|
| 28 |
|
| 29 |
K562 used the original function. RPE1 used a memory-saving implementation of the same rules. [Raw inputs, preparation code, and environment](https://huggingface.co/datasets/huggingbahl21/causalbench) are available for reproduction.
|
| 30 |
|
| 31 |
+
## Comparison with CausalBench
|
| 32 |
|
| 33 |
+
These tables use the original input datasets and follow the authors' filtered preprocessing linked above. They are our prepared exports, not processed files downloaded from the CausalBench authors. An exact match to author-provided processed matrices has not been verified.
|
| 34 |
|
| 35 |
+
Both downloaded count matrices matched Figshare's checksums. Rebuilding from the raw inputs reproduced the saved expression arrays and gene/intervention labels; exporting to TSV changed numerical values by at most `2.3841e-7`. The [preparation code and inputs](https://huggingface.co/datasets/huggingbahl21/causalbench) are available to reproduce the tables.
|