xiangjx commited on
Commit
247380a
·
verified ·
1 Parent(s): eaed36a

Dataset card: document he2mif/ and he2st/, per-folder licenses

Browse files
Files changed (1) hide show
  1. README.md +57 -8
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
- license: mit
 
 
3
  pretty_name: MuPaD examples
4
  tags:
5
  - pathology
@@ -7,6 +9,8 @@ tags:
7
  - virtual-staining
8
  - multiplex-immunofluorescence
9
  - spatial-transcriptomics
 
 
10
  size_categories:
11
  - n<1K
12
  ---
@@ -19,8 +23,8 @@ Each folder mirrors the layout of the full dataset, so the released code runs
19
  on it unchanged: the demos, prediction and scoring, and short training runs.
20
 
21
  ```
22
- he2mif/ H&E -> 16-channel mIF (5-HE2mIF) ORION-CRC tiles
23
- he2st/ H&E -> spatial transcriptomics (6-HE2ST) HEST-1k Xenium slides
24
  ```
25
 
26
  Download one folder at a time:
@@ -68,14 +72,59 @@ export ORION_DATA_ROOT=$PWD/examples/he2mif/ORIONCRC_dataset_tile_20x
68
  ```
69
 
70
  Source: the MIPHEI-ViT processed Orion-CRC release, redistributed under its
71
- MIT license.
72
 
73
  > G. Balezo et al. "MIPHEI-ViT: Multiplex Immunofluorescence Prediction from
74
  > H&E Images using ViT Foundation Models," 2025.
75
 
76
  ## he2st/
77
 
78
- Two processed HEST-1k Xenium slides for `6-HE2ST`: one training slide and the
79
- held-out validation slide NCBI920, with their raw HEST files and per-cell MUSK
80
- features. See `6-HE2ST/README.md` for the environment variables that point the
81
- code at them.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: mixed-per-folder
4
+ license_details: he2mif/ is MIT (MIPHEI-ViT Orion-CRC release); he2st/ is CC BY-NC-SA 4.0 (HEST-1k)
5
  pretty_name: MuPaD examples
6
  tags:
7
  - pathology
 
9
  - virtual-staining
10
  - multiplex-immunofluorescence
11
  - spatial-transcriptomics
12
+ - xenium
13
+ - single-cell
14
  size_categories:
15
  - n<1K
16
  ---
 
23
  on it unchanged: the demos, prediction and scoring, and short training runs.
24
 
25
  ```
26
+ he2mif/ H&E -> 16-channel mIF (5-HE2mIF) ORION-CRC tiles, 393 MB, MIT
27
+ he2st/ H&E -> single-cell transcriptomics (6-HE2ST) HEST-1k Xenium slides, 12.4 GB, CC BY-NC-SA 4.0
28
  ```
29
 
30
  Download one folder at a time:
 
72
  ```
73
 
74
  Source: the MIPHEI-ViT processed Orion-CRC release, redistributed under its
75
+ **MIT license**.
76
 
77
  > G. Balezo et al. "MIPHEI-ViT: Multiplex Immunofluorescence Prediction from
78
  > H&E Images using ViT Foundation Models," 2025.
79
 
80
  ## he2st/
81
 
82
+ Two Xenium breast cancer slides from [HEST-1k](https://github.com/mahmoodlab/HEST),
83
+ processed for H&E → single-cell spatial transcriptomics with MuPaD-512 (`6-HE2ST`).
84
+
85
+ | slide | split | subject | tiles | cells |
86
+ |---|---|---|---|---|
87
+ | NCBI917 | train | B7 | 945 | 52,688 |
88
+ | NCBI920 | val | B5 | 2,527 | 187,016 |
89
+
90
+ Both come from *Single-Cell Spatial Transcriptomics of Archival Human Lung and
91
+ Breast Tumor FFPE Samples* (HEST v1.3.1). NCBI920 is a validation slide: the
92
+ model never trains on it, it only selects the checkpoint.
93
+
94
+ ```
95
+ cache/<slide>/ the tile cache (scripts/preprocess_slides.py)
96
+ he.npy (n_tiles, 512, 512, 3) uint8 H&E, 100 µm tiles
97
+ expr.npy (n_cells, 90) float16 log1p expression, tile by tile
98
+ contours.npy tile-local cell contours at 512 px
99
+ contour_offsets.npy start of each cell's contour
100
+ cell_seg.npy each row's index into the xenium_seg polygons
101
+ tiles.parquet per tile: origin (full-res px), cell_start, n_cells
102
+ meta.json pixel size, subject, genes, ...
103
+ features/musk/<slide>/
104
+ emb_cell.npy (n_cells, 1024) float16 MUSK feature of every cell (he2st.embed_musk)
105
+ HEST1k/ the raw HEST-1k files these were built from
106
+ wsis/ st/ xenium_seg/ cells/ metadata/ HEST_v1_3_1.csv (these two rows)
107
+ splits_example.json train = NCBI917, val = test = NCBI920, for a smoke run
108
+ ```
109
+
110
+ Rows of `expr.npy`, `emb_cell.npy` and every per-cell prediction are the same
111
+ cells in the same order. Tile `t` holds rows `[cell_start, cell_start + n_cells)`.
112
+
113
+ Point the code at it:
114
+
115
+ ```bash
116
+ export HEST_ROOT=$PWD/examples/he2st/HEST1k HE2ST_CACHE=$PWD/examples/he2st/cache \
117
+ HE2ST_MUSK_FEATURES=$PWD/examples/he2st/features/musk
118
+ ```
119
+
120
+ The cache can be rebuilt from `HEST1k/` with
121
+ `python scripts/preprocess_slides.py --slides NCBI917,NCBI920` (into an empty
122
+ `HE2ST_CACHE`), which reproduces `cache/` exactly. To score a model on the
123
+ held-out slide, pass `--slides NCBI920` to `scripts/export_mupad_cells.py` and
124
+ `scripts/score.py`. To smoke-test training, set
125
+ `HE2ST_SPLITS=$PWD/examples/he2st/splits_example.json`.
126
+
127
+ Source: derived from **HEST-1k** (Jaume et al., "HEST-1k: A Dataset for Spatial
128
+ Transcriptomics and Histology Image Analysis", NeurIPS 2024), redistributed
129
+ under its **CC BY-NC-SA 4.0** license: non-commercial use, with attribution,
130
+ and derivatives under the same license.