tim-x commited on
Commit
8ed72b9
·
verified ·
0 Parent(s):

Super-squash branch 'main' using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +63 -0
  2. README.md +309 -0
  3. bmg_gene_index.csv +0 -0
  4. cell_metadata_with_mappings.csv +3 -0
  5. cell_metadata_with_mappings.parquet +3 -0
  6. edge_index.npy +3 -0
  7. expression_matrix/braincellatlas_brain_part_0.npy +3 -0
  8. expression_matrix/braincellatlas_brain_part_1.npy +3 -0
  9. expression_matrix/braincellatlas_brain_part_2.npy +3 -0
  10. expression_matrix/braincellatlas_brain_part_3.npy +3 -0
  11. expression_matrix/cellxgene_abdomen_part_0.npy +3 -0
  12. expression_matrix/cellxgene_adipose_tissue_part_0.npy +3 -0
  13. expression_matrix/cellxgene_adrenal_gland_part_0.npy +3 -0
  14. expression_matrix/cellxgene_axilla_part_0.npy +3 -0
  15. expression_matrix/cellxgene_bladder_organ_part_0.npy +3 -0
  16. expression_matrix/cellxgene_blood_part_0.npy +3 -0
  17. expression_matrix/cellxgene_blood_part_1.npy +3 -0
  18. expression_matrix/cellxgene_blood_part_2.npy +3 -0
  19. expression_matrix/cellxgene_blood_part_3.npy +3 -0
  20. expression_matrix/cellxgene_blood_part_4.npy +3 -0
  21. expression_matrix/cellxgene_blood_part_5.npy +3 -0
  22. expression_matrix/cellxgene_bone_marrow_part_0.npy +3 -0
  23. expression_matrix/cellxgene_brain_part_0.npy +3 -0
  24. expression_matrix/cellxgene_brain_part_1.npy +3 -0
  25. expression_matrix/cellxgene_brain_part_10.npy +3 -0
  26. expression_matrix/cellxgene_brain_part_2.npy +3 -0
  27. expression_matrix/cellxgene_brain_part_3.npy +3 -0
  28. expression_matrix/cellxgene_brain_part_4.npy +3 -0
  29. expression_matrix/cellxgene_brain_part_5.npy +3 -0
  30. expression_matrix/cellxgene_brain_part_6.npy +3 -0
  31. expression_matrix/cellxgene_brain_part_7.npy +3 -0
  32. expression_matrix/cellxgene_brain_part_8.npy +3 -0
  33. expression_matrix/cellxgene_brain_part_9.npy +3 -0
  34. expression_matrix/cellxgene_breast_part_0.npy +3 -0
  35. expression_matrix/cellxgene_breast_part_1.npy +3 -0
  36. expression_matrix/cellxgene_breast_part_2.npy +3 -0
  37. expression_matrix/cellxgene_central_nervous_system_part_0.npy +3 -0
  38. expression_matrix/cellxgene_chest_wall_part_0.npy +3 -0
  39. expression_matrix/cellxgene_colon_part_0.npy +3 -0
  40. expression_matrix/cellxgene_cortex_part_0.npy +3 -0
  41. expression_matrix/cellxgene_digestive_system_part_0.npy +3 -0
  42. expression_matrix/cellxgene_embryo_part_0.npy +3 -0
  43. expression_matrix/cellxgene_endocrine_gland_part_0.npy +3 -0
  44. expression_matrix/cellxgene_esophagogastric_junction_part_0.npy +3 -0
  45. expression_matrix/cellxgene_esophagus_part_0.npy +3 -0
  46. expression_matrix/cellxgene_exocrine_gland_part_0.npy +3 -0
  47. expression_matrix/cellxgene_eye_part_0.npy +3 -0
  48. expression_matrix/cellxgene_eye_part_1.npy +3 -0
  49. expression_matrix/cellxgene_eye_part_2.npy +3 -0
  50. expression_matrix/cellxgene_fallopian_tube_part_0.npy +3 -0
.gitattributes ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ s_desc.csv filter=lfs diff=lfs merge=lfs -text
61
+ s_name.csv filter=lfs diff=lfs merge=lfs -text
62
+ cell_metadata_with_mappings.csv filter=lfs diff=lfs merge=lfs -text
63
+ s_bio.csv filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: OmniCellTOSG
3
+ dataset_name: omnicelltosg
4
+ dataset_summary: |
5
+ OmniCellTOSG is a large-scale Text–Omic Signaling Graph (TOSG) dataset for single-cell learning.
6
+ It integrates sharded expression matrices, graph topology (full/internal/PPI edges), and textual
7
+ entity metadata (names, descriptions, sequences) with optional precomputed embeddings. It supports
8
+ graph-aware pretraining and downstream tasks such as cell-type annotation, disease status, and gender classification.
9
+
10
+ # 🏷️ Taxonomy (use standard HF enums where possible)
11
+ annotations_creators: [no-annotation]
12
+ language_creators: [found]
13
+ language: [en]
14
+ multilinguality: [monolingual]
15
+ source_datasets: [original, external]
16
+ size_categories: [">1M"] # change if needed: n<1K | 1K<n<10K | 10K<n<100K | 100K<n<1M | >1M
17
+
18
+ # 📚 Tasks (use “other” if your task isn’t in HF’s standard list)
19
+ task_categories: [other]
20
+ task_ids:
21
+ - multi-label-classification
22
+ - explanation-generation
23
+
24
+ # 🔖 Tags (free-form keywords)
25
+ tags:
26
+ - single-cell
27
+ - transcriptomics
28
+ - foundation-models
29
+
30
+ # 📄 Licensing & attribution
31
+ license: other
32
+ license_url:
33
+ - https://cellxgene.cziscience.com/tos
34
+ - https://doi.org/10.1038/s41591-024-03150-z
35
+ - https://www.ncbi.nlm.nih.gov/geo/info/citations.html#third-party
36
+
37
+ # 🔗 Project links (optional but recommended)
38
+ homepage: https://github.com/FuhaiLiAiLab/OmniCellTOSG
39
+ repository: https://github.com/FuhaiLiAiLab/OmniCellTOSG
40
+ paper: "https://arxiv.org/pdf/2504.02148"
41
+ point_of_contact: "Heming Zhang"
42
+
43
+ # 🧩 Dataset structure hints (optional)
44
+ dataset_type: multimodal-graph
45
+ configs:
46
+ - config_name: default
47
+ data_files: cell_metadata_with_mappings.csv
48
+
49
+ # ✅ Maintenance
50
+ pretty_format: true
51
+ ---
52
+
53
+
54
+ # OmniCellTOSG
55
+
56
+ <!-- markdownlint-disable first-line-h1 -->
57
+ <!-- markdownlint-disable html -->
58
+ <!-- markdownlint-disable no-duplicate-header -->
59
+
60
+ <div align="center">
61
+ <img src="https://github.com/FuhaiLiAiLab/OmniCellTOSG/blob/main/Figures/OmniCell-logo.png?raw=true" width="55%" alt="OmniCellTOSG Logo" />
62
+ </div>
63
+
64
+ <div align="center">
65
+ <a href="https://github.com/FuhaiLiAiLab/OmniCellTOSG">
66
+ <img alt="GitHub" src="https://img.shields.io/badge/GitHub-OmniCellTOSG-181717?logo=github">
67
+ </a>
68
+ <a href="https://huggingface.co/FuhaiLiAiLab">
69
+ <img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-FuhaiLiAiLab-ffcc00?color=ffcc00&logoColor=white">
70
+ </a>
71
+ <a href="https://arxiv.org/pdf/2504.02148" target="_blank">
72
+ <img alt="Paper" src="https://img.shields.io/badge/arXiv-2504.02148-b31b1b?logo=arxiv&logoColor=white">
73
+ </a>
74
+ </div>
75
+
76
+ ---
77
+
78
+ ## 🧭 Overview
79
+
80
+ **OmniCellTOSG** is a large-scale **Text–Omic Signaling Graph (TOSG)** resource for **single-cell foundation model pretraining** and **omics analysis**. It combines:
81
+ - **Expression matrices** (sharded `.npy` for scalable IO)
82
+ - **Graph topology** (full, internal, and PPI edges)
83
+ - **Textual metadata** (entity names, descriptions, sequences) with **precomputed embeddings**
84
+
85
+ Supported tasks include **graph–language foundation model pretraining**, **cell-type annotation**, **disease status** and **gender** classification, plus **core signaling inference**.
86
+
87
+ <div align="center">
88
+ <img src="https://github.com/FuhaiLiAiLab/OmniCellTOSG/blob/main/Figures/Figure2.png?raw=true" alt="Dataset Overview" />
89
+ </div>
90
+
91
+ ---
92
+
93
+ ## 📁 Dataset Structure
94
+
95
+ ```text
96
+ OmniCellTOSG_Dataset/
97
+ ├── expression_matrix/
98
+ │ ├── braincellatlas_brain_part_0.npy
99
+ │ ├── braincellatlas_brain_part_1.npy
100
+ │ ├── cellxgene_blood_part_0.npy
101
+ │ ├── cellxgene_blood_part_1.npy
102
+ │ ├── cellxgene_lung_part_0.npy
103
+ │ ├── cellxgene_small_intestine_part_0.npy
104
+ │ └── ... (additional *.npy shards)
105
+ ├── cell_metadata_with_mappings.csv
106
+ ├── cell_metadata_with_mappings.parquet
107
+ ├── edge_index.npy
108
+ ├── internal_edge_index.npy
109
+ ├── ppi_edge_index.npy
110
+ ├── s_bio.csv
111
+ ├── s_desc.csv
112
+ ├── s_name.csv
113
+ ├── x_bio_emb.npy
114
+ ├── x_desc_emb.npy
115
+ └── x_name_emb.csv
116
+ ```
117
+
118
+ > **Notes:**
119
+ > - Files in `expression_matrix/*.npy` are **sharded partitions** of single-cell expression matrices; merge shards (concatenate/stack) to reconstruct the full matrix for a given source/organ.
120
+ > - `cell_metadata_with_mappings.csv` contains **standardized per-cell annotations** (e.g., tissue, disease, sex, cell type, ontology mappings).
121
+ > - `edge_index.npy`, `s_bio.csv`, `s_name.csv`, and `s_desc.csv` provide the **graph topology** (COO `[2, E]`) and **entity metadata** (biological sequences, names, descriptions).
122
+ > - `x_bio_emb.npy`, `x_desc_emb.npy`, and `x_name_emb.csv` are **precomputed entity embeddings** (`[#entities × D]`, encoder-dependent) aligned to the CSVs—use these to **skip on-the-fly embedding**.
123
+
124
+ ---
125
+
126
+ ## ⚙️ Installation
127
+
128
+ If you only need dataset loading/extraction, download the standalone loader package from the [Releases](https://github.com/FuhaiLiAiLab/OmniCellTOSG/releases/tag/v2.1.0) page.
129
+
130
+ ---
131
+
132
+ ## 🚀 Quick Start
133
+
134
+ ```python
135
+ from CellTOSG_Loader import CellTOSGDataLoader
136
+
137
+ conditions = {"tissue_general": "brain", "disease_name": "Alzheimer's Disease"}
138
+
139
+ ddataset = CellTOSGDataLoader(
140
+ root=args.dataset_root,
141
+ conditions=conditions,
142
+ task=args.task, # "disease" | "gender" | "cell_type"
143
+ label_column=args.label_column, # "disease" | "gender" | "cell_type"
144
+ sample_ratio=args.sample_ratio, # mutually exclusive with sample_size
145
+ sample_size=args.sample_size,
146
+ shuffle=args.shuffle,
147
+ stratified_balancing=args.stratified_balancing,
148
+ extract_mode=args.extract_mode, # "inference" | "train"
149
+ random_state=args.random_state,
150
+ train_text=args.train_text,
151
+ train_bio=args.train_bio,
152
+ correction_method=args.correction_method, # None | "combat_seq"
153
+ output_dir=args.output_dir,
154
+ )
155
+
156
+ # --- Access outputs ---
157
+ if args.extract_mode == "inference":
158
+ X = dataset.data # pandas.DataFrame (expression/features)
159
+ y = dataset.labels # pandas.DataFrame
160
+ metadata = dataset.metadata # pandas.DataFrame (row-aligned metadata)
161
+ else:
162
+ X = dataset.data # dict: {"train": X_train, "test": X_test}
163
+ y = dataset.labels # dict: {"train": y_train, "test": y_test}
164
+ metadata = dataset.metadata # dict: {"train": meta_train, "test": meta_test}
165
+
166
+ all_edge_index = dataset.edge_index # full graph (COO [2, E])
167
+ internal_edge_index = dataset.internal_edge_index # optional transcript–protein edges
168
+ ppi_edge_index = dataset.ppi_edge_index # optional PPI edges
169
+ x_name_emb, x_desc_emb, x_bio_emb = pre_embed_text(args, dataset, pretrain_model, device) # Prepare text and seq embeddings
170
+ ```
171
+
172
+ ### Parameters (`CellTOSGDataLoader`)
173
+ - **root** *(str, required)* — Filesystem path to the dataset root (e.g., `../OmniCellTOSG/CellTOSG_dataset_v2`).
174
+ - **conditions** *(dict, required)* — Metadata filters used to subset rows
175
+ (e.g., `{"tissue_general": "brain", "disease": "Alzheimer's disease"}`).
176
+ - **task** *(str, required)* — Downstream task type: `"disease"` | `"gender"` | `"cell_type"`.
177
+ - **label_column** *(str, required)* — Target label column (e.g., `"disease"`, `"gender"`, `"cell_type"`).
178
+ - **extract_mode** *(str, required)* — Extraction mode:
179
+ - `"inference"`: extract a single dataset for inference/analysis (no train/test split)
180
+ - `"train"`: extract a training-ready dataset and generate splits (e.g., train/test)
181
+ - **sample_ratio** *(float, optional)* — Fraction of rows to sample (0–1). Mutually exclusive with `sample_size`.
182
+ - **sample_size** *(int, optional)* — Absolute number of rows to sample. Mutually exclusive with `sample_ratio`.
183
+ - **shuffle** *(bool, default: `False`)* — Shuffle rows during sampling/composition.
184
+ - **stratified_balancing** *(bool, default: `False`)* — Enable stratified sampling / class balancing based on `label_column`.
185
+ - **random_state** *(int, default: `2025`)* — Random seed for reproducibility (sampling, shuffling, splitting).
186
+ - **train_text** *(bool, default: `False`)* — Controls text feature output:
187
+ - `False`: return precomputed text embeddings (if available)
188
+ - `True`: return raw text fields for custom embedding
189
+ - **train_bio** *(bool, default: `False`)* — Controls biological sequence feature output:
190
+ - `False`: return precomputed sequence embeddings (if available)
191
+ - `True`: return raw sequences for custom embedding
192
+ - **correction_method** *(str or None, default: `None`)* — Correction method:
193
+ - `None`: no correction
194
+ - `"combat_seq"`: apply ComBat-Seq
195
+ - **output_dir** *(str, optional)* — Directory for loader outputs (extracted expression matrix, label,splits).
196
+
197
+ > **Returns:**
198
+ > - `extract_mode="inference"`:
199
+ > - `dataset.data`: `pandas.DataFrame`
200
+ > - `dataset.labels`: `pandas.DataFrame`
201
+ > - `dataset.metadata`: `pandas.DataFrame`
202
+ > - `extract_mode="train"`:
203
+ > - `dataset.data`: `dict` (`{"train": X_train, "test": X_test}`)
204
+ > - `dataset.labels`: `dict` (`{"train": y_train, "test": y_test}`)
205
+ > - `dataset.metadata`: `dict` (`{"train": meta_train, "test": meta_test}`)
206
+ > - `edge_index`, `internal_edge_index`, `ppi_edge_index`: graph topological information
207
+ > - Either raw text/sequence fields (`s_name`, `s_desc`, `s_bio`) **or** their precomputed embeddings (`x_name_emb`, `x_desc_emb`, `x_bio_emb`), returned according to the `train_text`/`train_bio` flags.
208
+
209
+ ---
210
+
211
+ ## 🧪 Pretraining
212
+
213
+ ```bash
214
+ python pretrain.py
215
+ ```
216
+
217
+ ---
218
+
219
+ ## 🏋️ Training Examples (CLI)
220
+
221
+ **Disease status (AD, brain)**
222
+ ```bash
223
+ # Alzheimer's Disease (Take AD as an example)
224
+ python train.py \
225
+ --downstream_task disease \
226
+ --label_column disease \
227
+ --tissue_general brain \
228
+ --disease_name "Alzheimer's Disease" \
229
+ --sample_ratio 0.1 \
230
+ --train_base_layer gat \
231
+ --train_lr 0.0005 \
232
+ --train_batch_size 3 \
233
+ --random_state 42 \
234
+ --dataset_output_dir ./Data/train_ad_disease_0.1_42
235
+ ```
236
+
237
+ **Gender (AD, brain)**
238
+ ```bash
239
+ # Alzheimer's Disease (Take AD as an example)
240
+ python train.py \
241
+ --downstream_task gender \
242
+ --label_column gender \
243
+ --tissue_general brain \
244
+ --disease_name "Alzheimer's Disease" \
245
+ --sample_ratio 0.1 \
246
+ --train_base_layer gat \
247
+ --train_lr 0.0005 \
248
+ --train_batch_size 2 \
249
+ --random_state 42 \
250
+ --dataset_output_dir ./Data/train_ad_gender_0.1_42
251
+ ```
252
+
253
+ **Cell type annotation (LUAD, lung)**
254
+ ```bash
255
+ # Lung (LUAD) (Take LUAD as an example)
256
+ python train.py \
257
+ --downstream_task cell_type \
258
+ --label_column cell_type \
259
+ --tissue_general "lung" \
260
+ --disease_name "Lung Adenocarcinoma" \
261
+ --sample_ratio 0.2 \
262
+ --train_base_layer gat \
263
+ --train_lr 0.0001 \
264
+ --train_batch_size 3 \
265
+ --random_state 42 \
266
+ --dataset_output_dir ./Data/train_luad_celltype_0.2_42
267
+ ```
268
+
269
+ **Signaling inference**
270
+ ```bash
271
+ python analysis.py
272
+ ```
273
+
274
+ ---
275
+
276
+ ## ⚖️ Licensing & Attribution
277
+
278
+ This dataset aggregates data from **CellxGENE**, the **Brain Cell Atlas**, **GEO** and **HCA**. Use of these resources is governed by their respective terms and citation policies:
279
+
280
+ - **CellxGENE Terms of Service** — Follow the platform’s ToS for data access, reuse, and sharing.
281
+ 🔗 https://cellxgene.cziscience.com/tos
282
+
283
+ - **Brain Cell Atlas (citation required)**
284
+ *Cite:*
285
+ Xinyue Chen#, Yin Huang#, Liangfeng Huang#, Ziliang Huang#, Zhao-Zhe Hao#, Lahong Xu, Nana Xu, Zhi Li, Yonggao Mou, Mingli Ye, Renke You, Xuegong Zhang, Sheng Liu*, Zhichao Miao*. **A brain cell atlas integrating single-cell transcriptomes across human brain regions.** *Nat Med* (2024). https://doi.org/10.1038/s41591-024-03150-z
286
+
287
+ - **GEO Citation Policy** — Follow NCBI GEO guidelines for citing datasets and third-party analyses.
288
+ 🔗 https://www.ncbi.nlm.nih.gov/geo/info/citations.html#third-party
289
+
290
+ - **HCA Data Use Agreement**
291
+ 🔗 https://data.humancellatlas.org/about/data-use-agreement
292
+
293
+ > **Note:** You are responsible for ensuring compliance with the licenses/terms and for providing appropriate attribution to each source in any publications or derived works.
294
+
295
+ ---
296
+
297
+ ## 📚 Citation
298
+
299
+ If you use **OmniCellTOSG**, please cite:
300
+
301
+ ```bibtex
302
+ @misc{omnicelltosg2025,
303
+ title = {OmniCellTOSG: A Text–Omic Signaling Graph Dataset for Single-Cell Learning},
304
+ author = {Zhang, Heming and Li, Fuhai and collaborators},
305
+ year = {2025},
306
+ note = {Dataset on Hugging Face},
307
+ url = {https://huggingface.co/FuhaiLiAiLab}
308
+ }
309
+ ```
bmg_gene_index.csv ADDED
The diff for this file is too large to render. See raw diff
 
cell_metadata_with_mappings.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31bc3999f0bc1be9d4a1ad6260ccf3946bb095e70506965617f8c03b68447ff6
3
+ size 115692845
cell_metadata_with_mappings.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ad7948816f673c8384d2f65b013a9ad3f6d420d22b1c82111b61edb68f1c77
3
+ size 3100252
edge_index.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:402efe6905e9537120d32d5a020ddb421cea8ec90168bc3f20e60dde45bea587
3
+ size 266198608
expression_matrix/braincellatlas_brain_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f44efb4195146317419a1f90039c4396b2064ad14e08adfdbdc0f4ca91f0754
3
+ size 16481560128
expression_matrix/braincellatlas_brain_part_1.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:295d8f96d0b1edfe5ec080eec6a401fc48743b5a9a443edd17edc5ad0d2e8e0a
3
+ size 16481560128
expression_matrix/braincellatlas_brain_part_2.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e0214a15a14b69c522ecc7d595a67b444af5a3e1b72c7118aae2edf0dfb2fca
3
+ size 16481560128
expression_matrix/braincellatlas_brain_part_3.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4456ab51b89cbc3abdfc7244b6241695162627084c47d5cebd6245dcdc40a518
3
+ size 10296030660
expression_matrix/cellxgene_abdomen_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f755be6f5f4b0f30c5b97bc5e5ebf17541adfa61591413a8e7cb789b7c3af9
3
+ size 2000861512
expression_matrix/cellxgene_adipose_tissue_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3139bc23f323e744005bed7c9c865bd15705a42e84d434b315ae3a33f9c829f9
3
+ size 3751203184
expression_matrix/cellxgene_adrenal_gland_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d09c634db7d973281535d41277a4cccf0a99be47ced6bb41554f48e0ce602eb6
3
+ size 3284775036
expression_matrix/cellxgene_axilla_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ab0d46c3637689fc56de1d56105c98eb2e25779f510d3d7a42f47b557e34545
3
+ size 772985292
expression_matrix/cellxgene_bladder_organ_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63e77bae8903b2d910f4e699065ebe8d943b6e9a06c0cfa83801b230e020772
3
+ size 619706784
expression_matrix/cellxgene_blood_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb664929acafe8adb91ecd41ab29ea5bec90eaad4fa17b0c32b698dc9d44e7ef
3
+ size 16481560128
expression_matrix/cellxgene_blood_part_1.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26bff144a26e1061d711f984c56c6c1dd9877d527c778adbd03c021079d3367d
3
+ size 16481560128
expression_matrix/cellxgene_blood_part_2.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b25409c034839d5cdf59ef49650fa3fc895e5061e93cb0436088785cff54ad7
3
+ size 16481560128
expression_matrix/cellxgene_blood_part_3.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9686e46cff5c23ae5d4b39345b80e618237ff36e3011fa37c9d6d1219d9a184
3
+ size 16481560128
expression_matrix/cellxgene_blood_part_4.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:250408221aeed852015af4baef14cfe8f26f859cda9e084e1964c32afdc2b1ce
3
+ size 16481560128
expression_matrix/cellxgene_blood_part_5.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1aa5e501497a85b78a4c6d992092f91548b796c74c30ff0b19fe75e82c9d56
3
+ size 9348340960
expression_matrix/cellxgene_bone_marrow_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e24f40e21ee26b9b4267bba11e38763becc18f1215acc04a3e045d6c8f9ab83e
3
+ size 7197497380
expression_matrix/cellxgene_brain_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f568f83b85aa84011a018934873561fc2afc8fb932edf952a7fe9740db4d8d02
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_1.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d334bdcb98a9f096b5ebe5cd1f0f33f9693098fa95db682a2f36154dcd640ff0
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_10.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:534251ea05ae9b6e948a0a744f9446133dec6cb0fd660832dc2d318d3d78fc52
3
+ size 14432902220
expression_matrix/cellxgene_brain_part_2.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95418312a605077f2b1c8d776fe49ae65f2280dd7897671c7792ccfe270cc66c
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_3.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bd1e366709f44bf200321df391d948dff44fd45bdfbb8343ffc5c97e54e9b38
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_4.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f275b435b71553f32d5d3a5de583bfba483d07b3aef59c452cfdd808a76955bb
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_5.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fddad86404a914f5ce7e7ba6f844d42ebd7272a46088df16a78021b971c1b505
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_6.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51a9643a2222f7abb3b0b2ee599d1dd4e01644dc326db3eea432c3f98ac79eb9
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_7.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:823b27be9cae8635fdcb5cd3f88ec424486f97cd64ce62d7859df37173e61956
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_8.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b1ead3d9420b75ced3ae04a2754e857a76362a9fb1dea554a519ea42c45c150
3
+ size 16481560128
expression_matrix/cellxgene_brain_part_9.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e678f0a2022bcb319c816500e636363016be4c5493e8657a75e883e63ca99b0d
3
+ size 16481560128
expression_matrix/cellxgene_breast_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8655629291abb2398773ceffe2a035094780cfe931389f7e934d028e96fcc9b6
3
+ size 16481560128
expression_matrix/cellxgene_breast_part_1.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dee58f0924d0efd92bae1d789e82ae7f235612ac77d4d809968d5c4cf03881e
3
+ size 16481560128
expression_matrix/cellxgene_breast_part_2.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9403e7d690ce0972eef9618e323c229ff14e2e465db4a76e19dc90d8febf78b2
3
+ size 1697600808
expression_matrix/cellxgene_central_nervous_system_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84f1256aba7bcf6b9e6438ceb80dee289abad37e8d5a03bb672a9dae18e256bc
3
+ size 130204452
expression_matrix/cellxgene_chest_wall_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ee86bdd76b1179652d3cfe9d0738a43adcd715c99c955c7baa480202ab8ef44
3
+ size 158223104
expression_matrix/cellxgene_colon_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:106f00f9781fbe5995cb2276745a5680dec32ac0e229925d6e04bb712b129856
3
+ size 7739740704
expression_matrix/cellxgene_cortex_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca1895cd576a2fbbd7ea6784fe9c2f3af2702b5a11d18f7c6db9ae0bde9e268c
3
+ size 1232820816
expression_matrix/cellxgene_digestive_system_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f1a601035dda72ae157943cc1511c6a78f0ed1d744baf50c80b52cbda109779
3
+ size 2122825056
expression_matrix/cellxgene_embryo_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fcbee33de0db633d027e18f499f7897aa16922306bba991fab0c545334d1d31
3
+ size 1361376984
expression_matrix/cellxgene_endocrine_gland_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00bdc2e18dde72adc96ca9ec8135d46ac71aea9365e0a27f2648cf510ec6ae29
3
+ size 9025302384
expression_matrix/cellxgene_esophagogastric_junction_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dd16df193b2a2e5c3ccba60103ea53bfa16fda28a62622ce011b3a32b9345e1
3
+ size 103833956
expression_matrix/cellxgene_esophagus_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffee805e792e9d2eae12b282d0888a24cbc5d9cd0979ad820d25bf34723f41b2
3
+ size 1400932728
expression_matrix/cellxgene_exocrine_gland_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dd22ad95b77cc4d2b066b6947dec6eae75c6113f800dd8698338114388d6b8e
3
+ size 2162380800
expression_matrix/cellxgene_eye_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b43f33364f81da14a33edade4284723654db3606b780ce70ecdba7cdd9b1dfd9
3
+ size 16481560128
expression_matrix/cellxgene_eye_part_1.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20caa56f9194adbc3624604552036e08371bbc7bf2ac93d5c70b175b6e4f7622
3
+ size 16481560128
expression_matrix/cellxgene_eye_part_2.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:012053733585989a03338c923ea4433b4a7a0f6541f40cadb3697d0f268746cd
3
+ size 1194913228
expression_matrix/cellxgene_fallopian_tube_part_0.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb560fd8e161ac24567f7a1ee8af824fcf7c84d21983aca94c2726a44bbe52c7
3
+ size 2424437604