Lal Claude Opus 4.6 commited on
Commit ·
3ab277f
1
Parent(s): 615d824
Fix README formatting and loading code
Browse files- Remove duplicate/malformed YAML frontmatter
- Fix filename: data.h5ad -> metadata.h5ad (actual file)
- Fix variable name collision (ad -> adata)
- Add paper reference
- Clean up formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
README.md
CHANGED
|
@@ -1,30 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
# 1. Metadata Block
|
| 3 |
-
license: mit
|
| 4 |
-
task_categories:
|
| 5 |
-
- tabular-regression
|
| 6 |
-
tags:
|
| 7 |
-
- biology
|
| 8 |
-
- genomics
|
| 9 |
-
pretty_name: "Decima Dataset"
|
| 10 |
-
size_categories:
|
| 11 |
-
- 10K<n<100K
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
# decima-data
|
| 15 |
-
|
| 16 |
-
## Dataset Summary
|
| 17 |
-
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).
|
| 18 |
-
|
| 19 |
-
## Dataset Structure
|
| 20 |
-
The dataset consists of **8856 observations** (pseudobulks) and **18457 variables** (genes).
|
| 21 |
-
|
| 22 |
-
### Data Fields
|
| 23 |
-
|
| 24 |
-
Here is the complete README.md file for your dataset, ready to be uploaded to the Genentech/decima-data repository on Hugging Face.
|
| 25 |
-
|
| 26 |
-
Markdown
|
| 27 |
-
---
|
| 28 |
license: mit
|
| 29 |
task_categories:
|
| 30 |
- tabular-regression
|
|
@@ -40,10 +14,12 @@ size_categories:
|
|
| 40 |
# decima-data
|
| 41 |
|
| 42 |
## Dataset Summary
|
| 43 |
-
This dataset contains gene expression data and associated genomic features formatted as an `AnnData` object. It is designed for use with the **
|
|
|
|
|
|
|
| 44 |
|
| 45 |
## Dataset Structure
|
| 46 |
-
The dataset is an `AnnData` object with dimensions: **
|
| 47 |
|
| 48 |
### Data Fields
|
| 49 |
|
|
@@ -95,26 +71,19 @@ The dataset is an `AnnData` object with dimensions: **8856 observations × 18457
|
|
| 95 |
|
| 96 |
### Data Layers
|
| 97 |
* **`.layers['preds']`**: Predicted values from the Decima model.
|
| 98 |
-
* **`.layers['v1_rep0']` through `.layers['v1_rep3']`**:
|
| 99 |
|
| 100 |
## Usage
|
| 101 |
|
| 102 |
-
To use this dataset, ensure you have `anndata` and `huggingface_hub` installed:
|
| 103 |
-
|
| 104 |
```python
|
| 105 |
import anndata
|
| 106 |
from huggingface_hub import hf_hub_download
|
| 107 |
|
| 108 |
-
# Download from Genentech/decima-data
|
| 109 |
file_path = hf_hub_download(
|
| 110 |
repo_id="Genentech/decima-data",
|
| 111 |
repo_type="dataset",
|
| 112 |
-
filename="
|
| 113 |
)
|
| 114 |
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
# Access expression data
|
| 119 |
-
print(ad.X.shape)
|
| 120 |
-
```
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
- tabular-regression
|
|
|
|
| 14 |
# decima-data
|
| 15 |
|
| 16 |
## Dataset Summary
|
| 17 |
+
This dataset contains gene expression data and associated genomic features formatted as an `AnnData` object. It is designed for use with the **Decima** framework 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.
|
| 18 |
+
|
| 19 |
+
For more details, please refer to the original paper: https://www.biorxiv.org/content/10.1101/2024.10.09.617507v3.
|
| 20 |
|
| 21 |
## Dataset Structure
|
| 22 |
+
The dataset is an `AnnData` object with dimensions: **8,856 observations (pseudobulks) × 18,457 variables (genes)**.
|
| 23 |
|
| 24 |
### Data Fields
|
| 25 |
|
|
|
|
| 71 |
|
| 72 |
### Data Layers
|
| 73 |
* **`.layers['preds']`**: Predicted values from the Decima model.
|
| 74 |
+
* **`.layers['v1_rep0']` through `.layers['v1_rep3']`**: Predictions from four model replicates.
|
| 75 |
|
| 76 |
## Usage
|
| 77 |
|
|
|
|
|
|
|
| 78 |
```python
|
| 79 |
import anndata
|
| 80 |
from huggingface_hub import hf_hub_download
|
| 81 |
|
|
|
|
| 82 |
file_path = hf_hub_download(
|
| 83 |
repo_id="Genentech/decima-data",
|
| 84 |
repo_type="dataset",
|
| 85 |
+
filename="metadata.h5ad"
|
| 86 |
)
|
| 87 |
|
| 88 |
+
adata = anndata.read_h5ad(file_path)
|
| 89 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|