btd2026 commited on
Commit
fcb69dc
·
1 Parent(s): 3d5f9fb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +109 -0
README.md ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - single-cell
5
+ - rna-seq
6
+ - scRNA-seq
7
+ - h5ad
8
+ - anndata
9
+ - genomics
10
+ - benchmark
11
+ - shape-analysis
12
+ size_categories:
13
+ - 1M<n<10M
14
+ task_categories:
15
+ - tabular-classification
16
+ - tabular-regression
17
+ pretty_name: scShapeBench
18
+ ---
19
+
20
+ # scShapeBench
21
+
22
+ A benchmark dataset for single-cell shape analysis, containing **2,547,517 cells** across **105 real-world single-cell RNA-seq datasets** in AnnData (`.h5ad`) format.
23
+
24
+ ## Dataset Summary
25
+
26
+ scShapeBench is a curated collection of real-world single-cell gene expression datasets assembled for benchmarking computational methods in single-cell shape analysis. Each dataset is stored as an individual AnnData file with precomputed PCA embeddings and Leiden clustering.
27
+
28
+ - **Total cells:** 2,547,517
29
+ - **Total datasets:** 105
30
+ - **Total size:** ~116 GB
31
+ - **Format:** AnnData (.h5ad)
32
+ - **Data type:** Real-world (synthetic data to be added in a future release)
33
+
34
+ ## Dataset Structure
35
+
36
+ ```
37
+ scShapeBench/
38
+ ├── data/
39
+ │ ├── SCD-0001.h5ad
40
+ │ ├── SCD-0002.h5ad
41
+ │ ├── ...
42
+ │ └── SCD-0112.h5ad
43
+ ├── cell_metadata.csv # Combined cell-level metadata (2.5M rows)
44
+ ├── gene_metadata.csv # Combined gene-level metadata
45
+ ├── dataset_index.csv # Per-file summary: dimensions, size
46
+ ├── croissant.json # Croissant 1.1 metadata
47
+ └── README.md
48
+ ```
49
+
50
+ ### File Naming
51
+
52
+ Files are named `SCD-XXXX.h5ad` where XXXX is a zero-padded index. The numbering is not contiguous (e.g., SCD-0031, SCD-0032, SCD-0034–0036 are absent).
53
+
54
+ ### Per-File Contents
55
+
56
+ Each `.h5ad` file contains:
57
+
58
+ | Component | Description |
59
+ |-----------|-------------|
60
+ | `X` | Gene expression matrix (cells × genes), log-normalized |
61
+ | `obs` | Cell metadata: `n_genes`, `leiden` (cluster assignment) |
62
+ | `var` | Gene metadata: `gene_ids`, `feature_types`, `genome`, `n_cells`, `highly_variable`, etc. |
63
+ | `obsm['X_pca']` | Precomputed PCA embeddings |
64
+ | `uns` | Clustering and HVG parameters |
65
+
66
+ ### Dataset Index
67
+
68
+ The `dataset_index.csv` file provides per-file summary statistics:
69
+
70
+ | Column | Description |
71
+ |--------|-------------|
72
+ | `file_id` | Dataset identifier (e.g., SCD-0001) |
73
+ | `filename` | Filename |
74
+ | `n_cells` | Number of cells |
75
+ | `n_genes` | Number of genes |
76
+ | `file_size_bytes` | File size in bytes |
77
+
78
+ Dataset sizes range from 1,163 cells (SCD-0006) to 434,340 cells (SCD-0037).
79
+
80
+ ## Usage
81
+
82
+ ```python
83
+ import scanpy as sc
84
+ import pandas as pd
85
+
86
+ # Load a single dataset
87
+ adata = sc.read_h5ad("data/SCD-0001.h5ad")
88
+ print(adata)
89
+
90
+ # Browse available datasets
91
+ index = pd.read_csv("dataset_index.csv")
92
+ print(index.sort_values("n_cells", ascending=False).head())
93
+
94
+ # Load cell metadata across all datasets
95
+ cell_meta = pd.read_csv("cell_metadata.csv")
96
+ print(cell_meta.groupby("file_id").size())
97
+ ```
98
+
99
+ ## Croissant Metadata
100
+
101
+ This dataset includes a `croissant.json` file conforming to the [Croissant 1.1](https://docs.mlcommons.org/croissant/) metadata standard. This enables programmatic discovery and loading of dataset metadata through compatible tools.
102
+
103
+ ## Citation
104
+
105
+ <!-- Add citation information here when available -->
106
+
107
+ ## License
108
+
109
+ License to be determined.