kahkengwong commited on
Commit
deba87b
·
verified ·
1 Parent(s): 07936f5

Dataset card: plain labels, gene symbols in italics, and formatting fixes

Browse files
Files changed (1) hide show
  1. README.md +18 -18
README.md CHANGED
@@ -12,9 +12,9 @@ tags:
12
  - single-cell
13
  - snRNA-seq
14
  - microglia
15
- - Alzheimer's disease
16
  - SEA-AD
17
- - monotonic relationships
18
  size_categories:
19
  - 10K<n<100K
20
  ---
@@ -35,7 +35,7 @@ size_categories:
35
  <p align="center">
36
  • Example data of the R package <a href="https://github.com/kahkengwong/cepip">cepip</a>, loaded with <code>cepip_example()</code>.<br>
37
  • 24,463 Micro-PVM_3-SEAAD cells from 10 brain regions, the table of 84 donors, and the DEG matrices.<br>
38
- • With these files, the PVM_3 and HKG8 control arms of the CEP-IP with CMRF analysis of SEA-AD microglia can be reproduced.
39
  </p>
40
 
41
  ## Quick Start
@@ -60,19 +60,19 @@ res
60
 
61
  ## Example Output
62
 
63
- Output of cepip on the 13,331 PVM_3 NeoC cells with the settings of the paper, drawn by [`readme_figure.R`](https://github.com/kahkengwong/cepip/blob/main/assets/readme_figure.R) of the cepip repository. The aims, methods, code, and results of each pair of panels are in the [worked example](https://github.com/kahkengwong/cepip#4-worked-example) of the cepip README. The notes below explain what each pair of panels means.
64
 
65
  ### Panels A and B: SKCS-core Cells and the Inflection Point
66
 
67
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_AB.png" width="100%" alt="Panels A and B"></p>
68
 
69
- 8,407 cells pass both SKCS gates (A). The residual GAM of the best-explained cells crosses zero at IP<sub>x</sub> = 2.4953, with an IPRS of 0.791 (B).
70
 
71
  **(i) TREP and non-TREP cells.**
72
  - The number of TREP cells follows the deviance explained (DE) of the curve: they are the top round(n x DE) cells by EP.
73
  - TREP cells are the cells the curve explains best. Non-TREP cells (blue and red in A) follow the same trend but lie farther from the curve.
74
 
75
- **(ii) Why a second GAM.**
76
  - The first GAM is one smooth curve through all cells, so it averages over a change in the relationship.
77
  - The residuals of the best-explained cells show the change: these cells lie below the curve before the IP and above it after.
78
  - The second GAM gives these residuals a standard error, so the IP gets a 95% CI and IPRS can score how clear the crossing is.
@@ -81,13 +81,13 @@ Output of cepip on the 13,331 PVM_3 NeoC cells with the settings of the paper, d
81
 
82
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_CD.png" width="100%" alt="Panels C and D"></p>
83
 
84
- 1,994 non-SKCS-core cells fall inside the band (C), and the gate keeps 1,351 of them as Recovered cells (D).
85
 
86
- **(iii) Why the middle of the curve is lost.**
87
  - S<sub>i</sub> is the product of the two centered ranks of a cell. A cell near the middle rank of either gene therefore has S<sub>i</sub> close to 0, even when it lies on the curve.
88
  - The fixed S<sub>i</sub> gate removes this part of the curve (the gap in panel A). CMRF tests these cells by their distance to the curve instead.
89
 
90
- **(iv) What the gate protects against.**
91
  - The candidates are kept only when the monotone curve fitted with them predicts held-out cells no worse than the curve of the reference cells alone, within its background variability.
92
  - Cells are removed from the farthest to the nearest, so the 643 removed candidates are the cells farthest from the curve.
93
 
@@ -95,7 +95,7 @@ Output of cepip on the 13,331 PVM_3 NeoC cells with the settings of the paper, d
95
 
96
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_EF.png" width="100%" alt="Panels E and F"></p>
97
 
98
- 9,454 cells form the Module (E). In the pitcher plot, most Recovered cells lie left of the S<sub>i</sub> gate line (F).
99
 
100
  **(v) Use of the Module.**
101
  - The Module, split at the IP into Pre-IP and Post-IP cells, is the unit of the downstream steps: the share of each donor's cells in each group (`cepip_donor()`), the DEGs between groups (`cepip_deg()`), and the association of a donor share with outcomes (`cepip_associate()`). In the SEA-AD paper, the donor share of Module Post-IP cells was associated with worse cognition.
@@ -110,9 +110,9 @@ Output of cepip on the 13,331 PVM_3 NeoC cells with the settings of the paper, d
110
 
111
  | File | Rows x columns | Contents |
112
  |---|---|---|
113
- | `pvm3_cells.csv` | 24,463 x 23 | Micro-PVM_3-SEAAD cells with MT-CO3 > 0 (NeoC 13,331; NonNeoC 11,132): barcode, region set, region, donor, MT-CO3, the eight mitochondrial partner genes, `composite_part8` (the composite of the data export, single precision), ACTB, and the eight other housekeeping genes |
114
- | `hkg8_cells.csv` | 2,511 x 14 | Cells of the HKG8 control arm (NeoC 1,432; NonNeoC 1,079): ACTB, the eight housekeeping genes, and `composite_part8` |
115
- | `donors.csv` | 84 x 18 | Cognitive status, MMSE, CASI, CERAD, Braak, Thal, ADNC, CAA, APOE e4 dose, age at death, sex, PMI, RIN, brain pH, fresh brain weight, and the total Micro-PVM_3-SEAAD cells per donor and region set |
116
  | `pvm3_deg_NeoC.rds` | 20,654 genes x 13,331 cells | Sparse matrix of the NeoC PVM_3 cells for `cepip_deg()` (genes expressed in at least 40 cells) |
117
  | `pvm3_deg_NonNeoC.rds` | 19,449 genes x 11,132 cells | The same for the NonNeoC PVM_3 cells |
118
  | `build_deg_matrices.R` | | Script that built the two DEG matrices |
@@ -121,11 +121,11 @@ The five data files are 82.8 MB in total. `cepip_example()` takes the names `"pv
121
 
122
  ## Data Details
123
 
124
- - **Expression values.** ln(CP10K + 1) from the SEA-AD multiregion release of 22 June 2026.
125
  - **Region sets.** NeoC (neocortical): DFC, MTG, AnG, STG, V1C, and ITG. NonNeoC (non-neocortical): HIP, MEC, LEC, and FI.
126
- - **Gene of interest.** MT-CO3.
127
- - **Partner genes.** MT-ATP6, MT-CO2, MT-ND3, MT-ND4, MT-CYB, MT-ND1, MT-ND2, and MT-CO1.
128
- - **HKG8 control arm.** ACTB against eight other housekeeping genes, in the ACTB > 0 cells of the M4 arm of the paper.
129
 
130
  ## Reproduced Values
131
 
@@ -134,7 +134,7 @@ The reproducibility script of cepip runs the PVM_3 arm, the HKG8 control arm, an
134
  | Value | PVM_3 NeoC | PVM_3 NonNeoC | HKG8 NeoC | HKG8 NonNeoC |
135
  |---|---|---|---|---|
136
  | Cells | 13,331 | 11,132 | 1,432 | 1,079 |
137
- | IPx | 2.4953 | 2.6572 | 1.5552 | 1.8130 |
138
  | IPRS | 0.791 | 0.819 | 0.639 | 0.571 |
139
  | SKCS-core cells | 8,407 | 6,941 | 250 | 199 |
140
  | OriRef / Recovered | 8,103 / 1,351 | 6,646 / 1,089 | 239 / 287 | 191 / 240 |
 
12
  - single-cell
13
  - snRNA-seq
14
  - microglia
15
+ - alzheimers-disease
16
  - SEA-AD
17
+ - monotonic-relationships
18
  size_categories:
19
  - 10K<n<100K
20
  ---
 
35
  <p align="center">
36
  • Example data of the R package <a href="https://github.com/kahkengwong/cepip">cepip</a>, loaded with <code>cepip_example()</code>.<br>
37
  • 24,463 Micro-PVM_3-SEAAD cells from 10 brain regions, the table of 84 donors, and the DEG matrices.<br>
38
+ • With these files, the PVM_3 arm and the HKG8 control arm of the CEP-IP with CMRF analysis of SEA-AD microglia can be reproduced.
39
  </p>
40
 
41
  ## Quick Start
 
60
 
61
  ## Example Output
62
 
63
+ Output of cepip on the 13,331 PVM_3 NeoC cells with the settings of the paper, drawn by [`readme_figure.R`](https://github.com/kahkengwong/cepip/blob/main/assets/readme_figure.R) of the cepip repository. The aims, methods, code, and results of each pair of panels are in the [worked example](https://github.com/kahkengwong/cepip#4-worked-example) of the cepip README. The notes below explain each pair of panels.
64
 
65
  ### Panels A and B: SKCS-core Cells and the Inflection Point
66
 
67
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_AB.png" width="100%" alt="Panels A and B"></p>
68
 
69
+ In A, 8,407 cells pass both SKCS gates. The residual GAM of the best-explained cells crosses zero at IP<sub>x</sub> = 2.4953, with an IPRS of 0.791 (B).
70
 
71
  **(i) TREP and non-TREP cells.**
72
  - The number of TREP cells follows the deviance explained (DE) of the curve: they are the top round(n x DE) cells by EP.
73
  - TREP cells are the cells the curve explains best. Non-TREP cells (blue and red in A) follow the same trend but lie farther from the curve.
74
 
75
+ **(ii) Reason for a second GAM.**
76
  - The first GAM is one smooth curve through all cells, so it averages over a change in the relationship.
77
  - The residuals of the best-explained cells show the change: these cells lie below the curve before the IP and above it after.
78
  - The second GAM gives these residuals a standard error, so the IP gets a 95% CI and IPRS can score how clear the crossing is.
 
81
 
82
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_CD.png" width="100%" alt="Panels C and D"></p>
83
 
84
+ In C, 1,994 non-SKCS-core cells fall inside the band, and the gate keeps 1,351 of them as Recovered cells (D).
85
 
86
+ **(iii) Loss of the middle of the curve.**
87
  - S<sub>i</sub> is the product of the two centered ranks of a cell. A cell near the middle rank of either gene therefore has S<sub>i</sub> close to 0, even when it lies on the curve.
88
  - The fixed S<sub>i</sub> gate removes this part of the curve (the gap in panel A). CMRF tests these cells by their distance to the curve instead.
89
 
90
+ **(iv) Purpose of the gate.**
91
  - The candidates are kept only when the monotone curve fitted with them predicts held-out cells no worse than the curve of the reference cells alone, within its background variability.
92
  - Cells are removed from the farthest to the nearest, so the 643 removed candidates are the cells farthest from the curve.
93
 
 
95
 
96
  <p align="center"><img src="https://huggingface.co/datasets/kahkengwong/cepip_example/resolve/main/assets/cepip_example_EF.png" width="100%" alt="Panels E and F"></p>
97
 
98
+ In E, 9,454 cells form the Module. In the pitcher plot, most Recovered cells lie left of the S<sub>i</sub> gate line (F).
99
 
100
  **(v) Use of the Module.**
101
  - The Module, split at the IP into Pre-IP and Post-IP cells, is the unit of the downstream steps: the share of each donor's cells in each group (`cepip_donor()`), the DEGs between groups (`cepip_deg()`), and the association of a donor share with outcomes (`cepip_associate()`). In the SEA-AD paper, the donor share of Module Post-IP cells was associated with worse cognition.
 
110
 
111
  | File | Rows x columns | Contents |
112
  |---|---|---|
113
+ | `pvm3_cells.csv` | 24,463 x 23 | Micro-PVM_3-SEAAD cells with *MT-CO3* > 0 (NeoC 13,331; NonNeoC 11,132): barcode, region set, region, donor, *MT-CO3*, the eight mitochondrial partner genes, `composite_part8` (the composite of the data export, single precision), *ACTB*, and the eight other housekeeping genes |
114
+ | `hkg8_cells.csv` | 2,511 x 14 | Cells of the HKG8 control arm (NeoC 1,432; NonNeoC 1,079): *ACTB*, the eight housekeeping genes, and `composite_part8` |
115
+ | `donors.csv` | 84 x 18 | Cognitive status, MMSE, CASI, CERAD, Braak, Thal, ADNC, CAA, *APOE* ε4 dose, age at death, sex, PMI, RIN, brain pH, fresh brain weight, and the total Micro-PVM_3-SEAAD cells per donor and region set |
116
  | `pvm3_deg_NeoC.rds` | 20,654 genes x 13,331 cells | Sparse matrix of the NeoC PVM_3 cells for `cepip_deg()` (genes expressed in at least 40 cells) |
117
  | `pvm3_deg_NonNeoC.rds` | 19,449 genes x 11,132 cells | The same for the NonNeoC PVM_3 cells |
118
  | `build_deg_matrices.R` | | Script that built the two DEG matrices |
 
121
 
122
  ## Data Details
123
 
124
+ - **Expression values.** ln(CP10K + 1) from the SEA-AD Multiregion release of 22 June 2026.
125
  - **Region sets.** NeoC (neocortical): DFC, MTG, AnG, STG, V1C, and ITG. NonNeoC (non-neocortical): HIP, MEC, LEC, and FI.
126
+ - **Gene of interest.** *MT-CO3*.
127
+ - **Partner genes.** *MT-ATP6*, *MT-CO2*, *MT-ND3*, *MT-ND4*, *MT-CYB*, *MT-ND1*, *MT-ND2*, and *MT-CO1*.
128
+ - **HKG8 control arm.** *ACTB* against eight other housekeeping genes, in the *ACTB* > 0 cells of the M4 arm of the paper.
129
 
130
  ## Reproduced Values
131
 
 
134
  | Value | PVM_3 NeoC | PVM_3 NonNeoC | HKG8 NeoC | HKG8 NonNeoC |
135
  |---|---|---|---|---|
136
  | Cells | 13,331 | 11,132 | 1,432 | 1,079 |
137
+ | IP<sub>x</sub> | 2.4953 | 2.6572 | 1.5552 | 1.8130 |
138
  | IPRS | 0.791 | 0.819 | 0.639 | 0.571 |
139
  | SKCS-core cells | 8,407 | 6,941 | 250 | 199 |
140
  | OriRef / Recovered | 8,103 / 1,351 | 6,646 / 1,089 | 239 / 287 | 191 / 240 |