File size: 4,047 Bytes
87247fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
---
# 1. Metadata Block
license: mit
task_categories:
- tabular-regression
tags:
- biology
- genomics
pretty_name: "Decima Dataset"
size_categories:
- 10K<n<100K
---

# decima-data

## Dataset Summary
This dataset contains associated metadata for use with the **Decima** model as well as model predictions for 8856 pseudobulks and 18457 genes. It includes observations across various tissues, organs, and disease states. The dataset is provided as an `AnnData` object including predictions, metadata and model performance metrics (Pearson correlation).

## Dataset Structure
The dataset consists of **8856 observations** (pseudobulks) and **18457 variables** (genes).

### Data Fields

Here is the complete README.md file for your dataset, ready to be uploaded to the Genentech/decima-data repository on Hugging Face.

Markdown
---
license: mit
task_categories:
- tabular-regression
tags:
- biology
- genomics
- single-cell
pretty_name: "Decima Dataset"
size_categories:
- 1M<n<10M
---

# decima-data

## Dataset Summary
This dataset contains gene expression data and associated genomic features formatted as an `AnnData` object. It is designed for use with the **gReLU** and **Decima** frameworks to support tasks such as gene expression prediction and genomic sequence modeling. The data provides a comprehensive view of expression across various tissues, organs, and disease states, primarily centered on human brain atlas data.

## Dataset Structure
The dataset is an `AnnData` object with dimensions: **8856 observations × 18457 variables**.

### Data Fields

**In `.obs` (Observation metadata):**

| Column | Description |
| :--- | :--- |
| `cell_type` | Specific cell type label |
| `tissue` | Tissue of origin |
| `organ` | Organ of origin |
| `disease` | Clinical status or condition (e.g., healthy) |
| `study` | Source study identifier |
| `dataset` | Source dataset identifier |
| `region` | Anatomical region |
| `subregion` | Specific anatomical subregion |
| `celltype_coarse` | Broad cell type classification |
| `n_cells` | Number of cells aggregated into the pseudobulk |
| `total_counts` | Total read count |
| `n_genes` | Number of genes detected |
| `size_factor` | Sum after normalization |
| `train_pearson` | Pearson correlation on training set |
| `val_pearson` | Pearson correlation on validation set |
| `test_pearson` | Pearson correlation on test set |

**In `.var` (Metadata for variables/genes):**

| Column | Description |
| :--- | :--- |
| `chrom` | Chromosome |
| `start` | Genomic start coordinate (hg38) |
| `end` | Genomic end coordinate (hg38) |
| `strand` | Genomic strand (+/-) |
| `gene_type` | Gene biotype (e.g., protein coding) |
| `frac_nan` | Fraction of missing values |
| `mean_counts` | Average expression counts |
| `n_tracks` | Number of pseudobulks expressing the gene |
| `gene_start` | Gene start position |
| `gene_end` | Gene end position |
| `gene_length` | Total length of the gene |
| `gene_mask_start` | Start of the gene mask in the input sequence |
| `gene_mask_end` | End of the gene mask in the input sequence |
| `frac_N` | Fraction of ambiguous bases (N) in the input |
| `fold` | Borzoi fold assignment |
| `dataset` | Split assignment (e.g., train, test) |
| `gene_id` | Ensembl gene identifier |
| `pearson` | Overall Pearson correlation |
| `size_factor_pearson` | Pearson correlation using size factor |
| `ensembl_canonical_tss` | Canonical Transcription Start Site |

### Data Layers
* **`.layers['preds']`**: Predicted values from the Decima model.
* **`.layers['v1_rep0']` through `.layers['v1_rep3']`**: Data/predictions across four model replicates.

## Usage

To use this dataset, ensure you have `anndata` and `huggingface_hub` installed:

```python
import anndata
from huggingface_hub import hf_hub_download

# Download from Genentech/decima-data
file_path = hf_hub_download(
    repo_id="Genentech/decima-data",
    repo_type="dataset",
    filename="data.h5ad"
)

# Load into memory
ad = anndata.read_h5ad(file_path)

# Access expression data
print(ad.X.shape)
```