Datasets:
Tasks:
Tabular Regression
Modalities:
Text
Formats:
csv
Languages:
English
Size:
10K - 100K
DOI:
License:
Update README.md
Browse files
README.md
CHANGED
@@ -27,6 +27,8 @@ configs:
|
|
27 |
|
28 |
# ComputAge Bench Dataset
|
29 |
|
|
|
|
|
30 |
## Introduction
|
31 |
|
32 |

|
@@ -50,33 +52,42 @@ any conclusions upon it.**
|
|
50 |
This dataset was collected by combining publicly available datasets of DNA methylation in human blood and saliva samples from the
|
51 |
[NCBI Gene Expression Omnibus](https://www.ncbi.nlm.nih.gov/geo/) (GEO) data repository according to the criteria described in [our publication](),
|
52 |
and it comprises samples from patients with aging-accelerating conditions and healthy controls. From all these public datasets, we selected only samples that had
|
53 |
-
annotated ages and conditions (
|
54 |
|
55 |
All methylation profiling platforms in this dataset represent different generations of Illumina Infinium BeadChip human methylation arrays.
|
56 |
Detailed documentation for these platforms can be accessed at the [manufacturer’s website](https://support.illumina.com/?tab=microarrays)
|
57 |
(Methylation → Select One → Infinium Human Methylation 450K BeadChip or Infinium MethylationEPIC BeadChip).
|
58 |
|
59 |
-
The dataset consists of two main parts: data and meta. Data is stored with parquet in the “\~/data” folder and contains methylation profiles across samples
|
60 |
-
|
61 |
-
|
|
|
|
|
62 |
|
63 |
-
In total, the dataset comprises **10,404 samples** and **900,449 features** (DNA methylation sites) coming from 65 separate studies
|
64 |
-
|
65 |
-
|
66 |
-
as
|
|
|
|
|
67 |
|
68 |
-
Its main purpose is to be used in aging clock benchmarking (for more details on that, again, proceed to the
|
69 |
[Usage Guidelines](https://huggingface.co/datasets/computage/computage_bench#usage-guidelines) and don’t hesitate to visit
|
70 |
-
[our
|
71 |
|
72 |
Repository structure:
|
73 |
```
|
74 |
computage_bench
|
75 |
|__ data # Folder with DNA methylation data
|
76 |
-
|__
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
|__ README.md # This file
|
79 |
-
|__ computage_bench_meta.tsv # Meta table with sample annotations (age, condition, etc.)
|
|
|
80 |
```
|
81 |
|
82 |
## Data description
|
@@ -112,7 +123,7 @@ GEO sample IDs, as in data columns
|
|
112 |
|
113 |
**PlatformID**: GEO ID of a platform that was used to obtain a respective sample.
|
114 |
Platform IDs can be mapped to the common platform names (that represent an approximate number of profiled methylation sites) as follows:
|
115 |
-
GPL8490 = 27K, GPL13534 = 450K, GPL16304 = 450K, GPL21145 = 850K/EPIC, GPL23976 = 850K/EPIC, GPL29753 = 850K/EPIC.
|
116 |
|
117 |
**Tissue**: sample source tissue. “*Blood*” stands for peripheral blood samples, “*Saliva*” stands for saliva samples, and “*Buccal*” stands for buccal swab samples.
|
118 |
|
@@ -131,10 +142,12 @@ it can be either rounded by the researchers to full years, or converted from mon
|
|
131 |
|
132 |
## Usage Guidelines
|
133 |
|
|
|
|
|
134 |
### Benchmark a new aging clock
|
135 |
|
136 |
First, install our nice [library](https://github.com/ComputationalAgingLab/ComputAge) for convenient interaction with datasets and other tools built to design
|
137 |
-
aging clocks:
|
138 |
|
139 |
`pip install computage`
|
140 |
|
@@ -156,19 +169,20 @@ models_config = {
|
|
156 |
'HorvathV1':{'imputation':imputation},
|
157 |
'Hannum':{'imputation':imputation},
|
158 |
'PhenoAgeV2':{'imputation':imputation},
|
159 |
-
|
160 |
-
# here we can define a name of our new model,
|
161 |
-
# to the pickle file (.pkl) that contains it
|
162 |
'new_models':{
|
163 |
-
#'my_new_model_name': {'path':/path/to/model.pkl}
|
164 |
}
|
165 |
}
|
166 |
|
167 |
# run the benchmark
|
168 |
-
bench = run_benchmark(
|
169 |
-
|
170 |
-
|
171 |
-
|
|
|
172 |
|
173 |
# upon completion, the results will be saved in the folder you have specified for output
|
174 |
```
|
@@ -182,14 +196,17 @@ from huggingface_hub import snapshot_download
|
|
182 |
snapshot_download(
|
183 |
repo_id='computage/computage_bench',
|
184 |
repo_type="dataset",
|
185 |
-
local_dir='.'
|
|
|
186 |
```
|
|
|
187 |
Once downloaded, the dataset can be open with `pandas` (or any other `parquet` reader).
|
188 |
```python
|
189 |
import pandas as pd
|
190 |
|
191 |
# let's choose a study id, for example `GSE100264`
|
192 |
-
df = pd.read_parquet('data/computage_bench_data_GSE100264.parquet').T
|
|
|
193 |
# note that we transpose data for a more convenient perception of samples and features
|
194 |
# don't forget to explore metadata (which is common for all datasets):
|
195 |
meta = pd.read_csv('computage_bench_meta.tsv', sep='\t', index_col=0)
|
@@ -207,3 +224,15 @@ Please, cite us as
|
|
207 |
|
208 |
ComputAgeBench: Epigenetic Aging Clocks Benchmark
|
209 |
https://doi.org/10.1101/2024.06.06.597715
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
# ComputAge Bench Dataset
|
29 |
|
30 |
+
=== For a more detailed User Guide, visit [our GitHub](https://github.com/ComputationalAgingLab/ComputAge). ===
|
31 |
+
|
32 |
## Introduction
|
33 |
|
34 |

|
|
|
52 |
This dataset was collected by combining publicly available datasets of DNA methylation in human blood and saliva samples from the
|
53 |
[NCBI Gene Expression Omnibus](https://www.ncbi.nlm.nih.gov/geo/) (GEO) data repository according to the criteria described in [our publication](),
|
54 |
and it comprises samples from patients with aging-accelerating conditions and healthy controls. From all these public datasets, we selected only samples that had
|
55 |
+
annotated ages and conditions (aging-accelerating condition vs. healthy control).
|
56 |
|
57 |
All methylation profiling platforms in this dataset represent different generations of Illumina Infinium BeadChip human methylation arrays.
|
58 |
Detailed documentation for these platforms can be accessed at the [manufacturer’s website](https://support.illumina.com/?tab=microarrays)
|
59 |
(Methylation → Select One → Infinium Human Methylation 450K BeadChip or Infinium MethylationEPIC BeadChip).
|
60 |
|
61 |
+
The dataset consists of two main parts: data and meta. Data is stored with parquet in the “\~/data” folder and contains methylation profiles across samples.
|
62 |
+
In it, the “\~/data/benchmark” folder contains datasets used for clock benchmarking, while matrices from the “\~/data/train” folder can be used to train novel clock models.
|
63 |
+
Meta contains additional information, such as subject’s age, gender, condition, etc., and is stored as “\~/computage_bench_meta.tsv” and “\~/computage_train_meta.tsv”
|
64 |
+
for the benchmarking and training samples, respectively.
|
65 |
+
Both data and meta are described further below in more details.
|
66 |
|
67 |
+
In total, the benchmarking dataset comprises **10,404 samples** and **900,449 features** (DNA methylation sites) coming from 65 separate studies,
|
68 |
+
while the training dataset consists of **7,419 samples** and **907,766 features** from 46 studies
|
69 |
+
(some features are missing in some datasets). It is common for biological (omics) datasets to have N << P,
|
70 |
+
so we had to put samples as columns and features as rows in order to save the dataset in the parquet format.
|
71 |
+
We recommend transposing data upon loading in order to match with meta rows, as mentioned further below
|
72 |
+
in the [Usage Guidelines](https://huggingface.co/datasets/computage/computage_bench#usage-guidelines) section.
|
73 |
|
74 |
+
Its main purpose is to be used in aging clock benchmarking and training (for more details on that, again, proceed to the
|
75 |
[Usage Guidelines](https://huggingface.co/datasets/computage/computage_bench#usage-guidelines) and don’t hesitate to visit
|
76 |
+
[our pre-print](https://doi.org/10.1101/2024.06.06.597715)). Nevertheless, you are free to use it for any other well-minded purpose you find suitable.
|
77 |
|
78 |
Repository structure:
|
79 |
```
|
80 |
computage_bench
|
81 |
|__ data # Folder with DNA methylation data
|
82 |
+
|__ benchmark # Benchmarking-related data with aging-accelerating conditions and healthy controls
|
83 |
+
|__ computage_bench_data_<DatasetID_1>.parquet
|
84 |
+
|__ . . .
|
85 |
+
|__ train # Data for clock training (healthy controls only)
|
86 |
+
|__ computage_train_data_<DatasetID_1>.parquet
|
87 |
+
|__ . . .
|
88 |
|__ README.md # This file
|
89 |
+
|__ computage_bench_meta.tsv # Meta table with sample annotations (age, condition, etc.) for the benchmarking samples
|
90 |
+
|__ computage_train_meta.tsv # Meta table (as above) for the training samples
|
91 |
```
|
92 |
|
93 |
## Data description
|
|
|
123 |
|
124 |
**PlatformID**: GEO ID of a platform that was used to obtain a respective sample.
|
125 |
Platform IDs can be mapped to the common platform names (that represent an approximate number of profiled methylation sites) as follows:
|
126 |
+
GPL8490 = 27K, GPL13534 = 450K, GPL16304 = 450K, GPL21145 = 850K/EPIC, GPL23976 = 850K/EPIC, GPL29753 = 850K/EPIC (EPICv2).
|
127 |
|
128 |
**Tissue**: sample source tissue. “*Blood*” stands for peripheral blood samples, “*Saliva*” stands for saliva samples, and “*Buccal*” stands for buccal swab samples.
|
129 |
|
|
|
142 |
|
143 |
## Usage Guidelines
|
144 |
|
145 |
+
Once again, for a more detailed User Guide, visit [our GitHub](https://github.com/ComputationalAgingLab/ComputAge).
|
146 |
+
|
147 |
### Benchmark a new aging clock
|
148 |
|
149 |
First, install our nice [library](https://github.com/ComputationalAgingLab/ComputAge) for convenient interaction with datasets and other tools built to design
|
150 |
+
aging clocks (creating a new Python environment in Conda beforehand is highly recommended):
|
151 |
|
152 |
`pip install computage`
|
153 |
|
|
|
169 |
'HorvathV1':{'imputation':imputation},
|
170 |
'Hannum':{'imputation':imputation},
|
171 |
'PhenoAgeV2':{'imputation':imputation},
|
172 |
+
},
|
173 |
+
# here we can define a name of our new model,
|
174 |
+
# as well as path to the pickle file (.pkl) that contains it
|
175 |
'new_models':{
|
176 |
+
# 'my_new_model_name': {'path':/path/to/model.pkl}
|
177 |
}
|
178 |
}
|
179 |
|
180 |
# run the benchmark
|
181 |
+
bench = run_benchmark(
|
182 |
+
models_config,
|
183 |
+
experiment_prefix='my_model_test',
|
184 |
+
output_folder='./benchmark'
|
185 |
+
)
|
186 |
|
187 |
# upon completion, the results will be saved in the folder you have specified for output
|
188 |
```
|
|
|
196 |
snapshot_download(
|
197 |
repo_id='computage/computage_bench',
|
198 |
repo_type="dataset",
|
199 |
+
local_dir='.'
|
200 |
+
)
|
201 |
```
|
202 |
+
|
203 |
Once downloaded, the dataset can be open with `pandas` (or any other `parquet` reader).
|
204 |
```python
|
205 |
import pandas as pd
|
206 |
|
207 |
# let's choose a study id, for example `GSE100264`
|
208 |
+
df = pd.read_parquet('data/benchmark/computage_bench_data_GSE100264.parquet').T
|
209 |
+
|
210 |
# note that we transpose data for a more convenient perception of samples and features
|
211 |
# don't forget to explore metadata (which is common for all datasets):
|
212 |
meta = pd.read_csv('computage_bench_meta.tsv', sep='\t', index_col=0)
|
|
|
224 |
|
225 |
ComputAgeBench: Epigenetic Aging Clocks Benchmark
|
226 |
https://doi.org/10.1101/2024.06.06.597715
|
227 |
+
|
228 |
+
or as
|
229 |
+
```
|
230 |
+
@article{kriukov2024computagebench,
|
231 |
+
title={ComputAgeBench: Epigenetic Aging Clocks Benchmark},
|
232 |
+
author={Kriukov, Dmitrii and Efimov, Evgeniy and Kuzmina, Ekaterina A and Khrameeva, Ekaterina E and Dylov, Dmitry V},
|
233 |
+
journal={bioRxiv},
|
234 |
+
pages={2024--06},
|
235 |
+
year={2024},
|
236 |
+
publisher={Cold Spring Harbor Laboratory}
|
237 |
+
}
|
238 |
+
```
|