Download causalbench/README.md from pgmpy/example_datasets: direct link, hf CLI and curl.
- Browser
- Download file 3.03 kB
-
https://huggingface.co/datasets/pgmpy/example_datasets/resolve/main/causalbench/README.md
- Command line
-
hf download hf://datasets/pgmpy/example_datasets/causalbench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/pgmpy/example_datasets/resolve/main/causalbench/README.md
CausalBench K562 and RPE1
Filtered single-cell CRISPRi data from Replogle et al. (2022), prepared following CausalBench. Data license: CC BY 4.0, credited to Replogle et al.
| Dataset | Cells | Genes | Prepared table |
|---|---|---|---|
| K562 | 162,751 | 622 | causalbench_k562.tsv.gz |
| RPE1 | 162,733 | 383 | causalbench_rpe1.tsv.gz |
Each gzip TSV contains gene-expression columns (Ensembl IDs) and an intervention column: a targeted gene ID, non-targeting for controls, or excluded for targets not retained by preprocessing. excluded cells are not controls.
Sources and preprocessing
The downloaded inputs were:
k562.h5ad: K562 count matrix from Figshare, file 35773219.rpe1.h5ad: RPE1 count matrix from Figshare, file 35775606.summary_stats.xlsx: Replogle et al. supplementary workbook (1-s2.0-S0092867422005979-mmc2.xlsx), using sheetsTabB_K562_day6_summary_statandTabC_RPE1_summary_statistic.
The names above are the local filenames used during preparation.
The reference is the authors' preprocessing implementation at commit 1a2143c, with strong-perturbation filtering enabled:
- Keep controls and perturbations with >50 differentially expressed genes, knockdown <= -0.3, and >25 filtered cells in the summary.
- For measured targets, keep perturbed cells whose target expression is at or below the control 10th percentile.
- Remove zero-total cells, normalize cell totals to the retained-cell median using all original genes, and apply natural
log1p. - Keep measured genes targeted in >100 retained cells; relabel unsupported targets
excludedwithout dropping their rows.
K562 used the original function. RPE1 used a memory-saving implementation of the same rules. Raw inputs, preparation code, and environment are available for reproduction.
Comparison with CausalBench
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.
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 are available to reproduce the tables.