Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- bulk-rna-seq
|
| 4 |
+
- methylation
|
| 5 |
+
- cancer
|
| 6 |
+
- genomics
|
| 7 |
+
pretty_name: TCGA PanCancer Atlas (trimmed, multi-omics)
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# TCGA
|
| 11 |
+
|
| 12 |
+
A trimmed multi-omics subset of the TCGA PanCancer Atlas (RNA + methylation + clinical), for use with [AUTOENCODIX](https://github.com/jan-forest/autoencodix_package) tutorials (`Ontix.ipynb`, `XModalix.ipynb`, `InputDataTutorials.ipynb`).
|
| 13 |
+
|
| 14 |
+
## Contents
|
| 15 |
+
|
| 16 |
+
- **3,246 samples** across 6 cancer types (fully paired RNA ∩ methylation ∩ clinical): BRCA (1,065), KIRC (509), THCA (497), SKCM (438), COAD (437), OV (300).
|
| 17 |
+
- **7,941 genes** — full shared RNA ∩ methylation ∩ chromosome-ontology gene pool.
|
| 18 |
+
- Files:
|
| 19 |
+
- `rna.parquet` — RNA expression, samples × genes
|
| 20 |
+
- `methylation.parquet` — methylation, samples × genes
|
| 21 |
+
- `clinical.parquet` — sample-level clinical/annotation metadata
|
| 22 |
+
- `chromosome_ont_lvl1_ncbi.txt`, `chromosome_ont_lvl2.txt` — chromosome-level ontology reference files (used by Ontix)
|
| 23 |
+
|
| 24 |
+
## Loading
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from huggingface_hub import hf_hub_download
|
| 28 |
+
import pandas as pd
|
| 29 |
+
|
| 30 |
+
rna_path = hf_hub_download(repo_id="autoencodix/tcga", repo_type="dataset", filename="rna.parquet")
|
| 31 |
+
meth_path = hf_hub_download(repo_id="autoencodix/tcga", repo_type="dataset", filename="methylation.parquet")
|
| 32 |
+
clin_path = hf_hub_download(repo_id="autoencodix/tcga", repo_type="dataset", filename="clinical.parquet")
|
| 33 |
+
|
| 34 |
+
rna = pd.read_parquet(rna_path)
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## License
|
| 38 |
+
|
| 39 |
+
**Needs to be finalized.** This data derives from the TCGA PanCancer Atlas, governed by the NIH Genomic Data Sharing Policy rather than a standard copyright license (e.g. CC-BY) (?)
|