Datasets:
Lal Claude Opus 4.6 commited on
Commit ·
b728cb3
1
Parent(s): 822c0a4
Fix YAML frontmatter and add row count
Browse files- Remove comment lines from YAML frontmatter
- Add variant count (1,000)
- Add alternative loading example with hf_hub_download
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
# 1. Metadata Block
|
| 3 |
license: mit
|
| 4 |
task_categories:
|
| 5 |
- tabular-regression
|
|
@@ -9,8 +8,6 @@ tags:
|
|
| 9 |
pretty_name: "Alzheimer's GWAS variants (hg19)"
|
| 10 |
size_categories:
|
| 11 |
- 1K<n<10K
|
| 12 |
-
|
| 13 |
-
# 2. Config & Split Management
|
| 14 |
configs:
|
| 15 |
- config_name: default
|
| 16 |
data_files:
|
|
@@ -18,13 +15,16 @@ configs:
|
|
| 18 |
path: "variants.csv"
|
| 19 |
---
|
| 20 |
|
| 21 |
-
#
|
| 22 |
|
| 23 |
## Dataset Summary
|
| 24 |
-
This dataset contains summary statistics for 1,000 genomic variants. Each row represents a single-nucleotide polymorphism (SNP) mapped to the hg19 reference genome.
|
| 25 |
|
| 26 |
## Dataset Structure
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
### Data Fields
|
| 29 |
Based on the header of `variants.csv`:
|
| 30 |
|
|
@@ -43,8 +43,13 @@ Based on the header of `variants.csv`:
|
|
| 43 |
## Usage
|
| 44 |
|
| 45 |
```python
|
| 46 |
-
from
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
- tabular-regression
|
|
|
|
| 8 |
pretty_name: "Alzheimer's GWAS variants (hg19)"
|
| 9 |
size_categories:
|
| 10 |
- 1K<n<10K
|
|
|
|
|
|
|
| 11 |
configs:
|
| 12 |
- config_name: default
|
| 13 |
data_files:
|
|
|
|
| 15 |
path: "variants.csv"
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# alzheimers-variant-tutorial-data
|
| 19 |
|
| 20 |
## Dataset Summary
|
| 21 |
+
This dataset contains summary statistics for 1,000 genomic variants associated with Alzheimer's disease. Each row represents a single-nucleotide polymorphism (SNP) mapped to the hg19 reference genome.
|
| 22 |
|
| 23 |
## Dataset Structure
|
| 24 |
|
| 25 |
+
- **Number of variants:** 1,000
|
| 26 |
+
- **Genome build:** hg19
|
| 27 |
+
|
| 28 |
### Data Fields
|
| 29 |
Based on the header of `variants.csv`:
|
| 30 |
|
|
|
|
| 43 |
## Usage
|
| 44 |
|
| 45 |
```python
|
| 46 |
+
from huggingface_hub import hf_hub_download
|
| 47 |
+
import pandas as pd
|
| 48 |
+
|
| 49 |
+
file_path = hf_hub_download(
|
| 50 |
+
repo_id="Genentech/alzheimers-variant-tutorial-data",
|
| 51 |
+
repo_type="dataset",
|
| 52 |
+
filename="variants.csv"
|
| 53 |
+
)
|
| 54 |
+
df = pd.read_csv(file_path)
|
| 55 |
+
```
|