zaf4 commited on
Commit
6443909
·
verified ·
1 Parent(s): 0007d3b

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +111 -0
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: cellestial datasets
3
+ license: other
4
+ tags:
5
+ - biology
6
+ - single-cell
7
+ - spatial-transcriptomics
8
+ - rna-velocity
9
+ - anndata
10
+ size_categories:
11
+ - 10K<n<100K
12
+ ---
13
+
14
+ # cellestial datasets
15
+
16
+ Preprocessed example datasets for [cellestial](https://cellestial.datavil.org), an
17
+ interactive single-cell and spatial omics visualization library. Each file is an
18
+ AnnData `.h5ad` that is ready to plot: normalized, log-transformed, with
19
+ embeddings and clusters already computed.
20
+
21
+ | File | Loader | Cells / spots | Genes | Kind |
22
+ | --- | --- | ---: | ---: | --- |
23
+ | `bone_marrow_pped.h5ad` | `cl.datasets.bone_marrow()` | 17,041 | 23,427 | scRNA-seq, human bone marrow |
24
+ | `endocrinogenesis_day15_pped.h5ad` | `cl.datasets.pancreas()` | 3,696 | 1,945 | scRNA-seq with RNA velocity, mouse pancreas |
25
+ | `V1_Human_Lymph_Node_pped.h5ad` | `cl.datasets.human_lymph_node()` | 3,861 | 19,685 | Visium spatial transcriptomics, human lymph node |
26
+
27
+ ## Usage
28
+
29
+ ```python
30
+ import cellestial as cl
31
+
32
+ data = cl.datasets.bone_marrow()
33
+ cl.umap(data, "cell_type_lvl1")
34
+ ```
35
+
36
+ The loaders download a file once and cache it. To read a file without
37
+ cellestial:
38
+
39
+ ```python
40
+ import anndata
41
+ from huggingface_hub import hf_hub_download
42
+
43
+ path = hf_hub_download(
44
+ "datavil/cellestial-datasets", "bone_marrow_pped.h5ad", repo_type="dataset"
45
+ )
46
+ data = anndata.read_h5ad(path)
47
+ ```
48
+
49
+ ## Datasets
50
+
51
+ ### `bone_marrow_pped.h5ad`
52
+
53
+ Bone marrow mononuclear cells from healthy human donors, two samples (`s1d1`:
54
+ 8,713 cells, `s1d3`: 8,328 cells), measured with the 10x Multiome kit. Only gene
55
+ expression is included. These are the cells of the scanpy
56
+ ["Preprocessing and clustering"](https://scanpy.scverse.org/en/stable/tutorials/basics/clustering.html)
57
+ tutorial, taken from the NeurIPS 2021 multimodal single-cell benchmark.
58
+
59
+ - Processing follows that tutorial: QC metrics (mitochondrial, ribosomal,
60
+ hemoglobin genes), doublet scores, normalization and log1p, highly variable
61
+ genes, PCA, neighbors, UMAP and t-SNE, Leiden clustering at resolutions 0.02,
62
+ 0.5 and 2.0.
63
+ - `cell_type_lvl1` is the tutorial's coarse annotation of `leiden_res_0.02`:
64
+ Lymphocytes (9,721), Erythroid (3,510), B Cells (2,300), Monocytes (1,510).
65
+ - Raw counts for all 36,601 measured genes are kept in `raw`.
66
+ - Embeddings: `X_pca`, `X_umap`, `X_tsne`.
67
+
68
+ Earlier releases of cellestial (0.62.1 and before) shipped this dataset as
69
+ `pbmc3k`. It is not the 10x Genomics PBMC 3k dataset; the name was a mistake and
70
+ was changed in cellestial 1.0.
71
+
72
+ ### `endocrinogenesis_day15_pped.h5ad`
73
+
74
+ Mouse pancreatic endocrinogenesis at embryonic day 15.5, the RNA velocity example
75
+ dataset of scVelo.
76
+
77
+ - `clusters`: Ductal, Ngn3 low EP, Ngn3 high EP, Pre-endocrine, Beta, Alpha,
78
+ Delta, Epsilon. `clusters_coarse` groups them.
79
+ - Layers: `spliced`, `unspliced`, their moments (`Ms`, `Mu`), `velocity` and
80
+ `variance_velocity`.
81
+ - Embeddings: `X_pca`, `X_umap`, and the projected velocities `velocity_umap`.
82
+ - Cell cycle scores `S_score`, `G2M_score`.
83
+
84
+ ### `V1_Human_Lymph_Node_pped.h5ad`
85
+
86
+ A 10x Genomics Visium section of human lymph node (public dataset
87
+ "V1_Human_Lymph_Node").
88
+
89
+ - Only in-tissue spots. QC metrics, normalization and log1p, highly variable
90
+ genes, PCA, neighbors, UMAP and Leiden `clusters` (0 to 9).
91
+ - Spot coordinates in `obsm["spatial"]`; the tissue image and scale factors are
92
+ stored with the file, so spots can be drawn on the image.
93
+
94
+ ## Sources and terms
95
+
96
+ The data were produced by the studies below and are redistributed here, after
97
+ preprocessing, as examples for cellestial. Each dataset keeps the license and
98
+ terms of its original source; please cite the original work when you use it.
99
+
100
+ - **Bone marrow:** Luecken, M. D. et al. (2021). A sandbox for prediction and
101
+ integration of DNA, RNA, and proteins in single cells. *NeurIPS Datasets and
102
+ Benchmarks Track*.
103
+ - **Pancreas:** Bastidas-Ponce, A. et al. (2019). Comprehensive single cell mRNA
104
+ profiling reveals a detailed roadmap for pancreatic endocrinogenesis.
105
+ *Development* 146(12). Bergen, V. et al. (2020). Generalizing RNA velocity to
106
+ transient cell states through dynamical modeling. *Nature Biotechnology* 38.
107
+ - **Lymph node:** 10x Genomics public datasets, "Human Lymph Node" (Visium
108
+ Spatial Gene Expression).
109
+
110
+ To cite cellestial itself, see the
111
+ [cellestial repository](https://github.com/datavil/cellestial).