rnanorm.datasets.load_gtex

rnanorm.datasets.load_gtex()[source]

Load a real RNA-seq dataset from GTFx project.

Dataset is sampled to contain just chr21 and first 30 samples from GTEx lung V8.

Return type:

Bunch

Examples

>>> from rnanorm.datasets import load_gtex
>>> dataset = load_gtex()
>>> dataset.exp
                          ENSG00000141956.13  ENSG00000141959.16   ...
GTEX-111CU-0326-SM-5GZXO                 871                8129   ...
GTEX-111FC-1126-SM-5GZWU                 852                7076   ...
GTEX-111VG-0726-SM-5GIDC                 912               11016   ...
...                                      ...                 ...   ...
>>> # TPM and FPKM normalization also require GTF file
>>> dataset.gtf_path
PosixPath('/Users/.../gencode.v26.annotation.chr21.gtf.gz')