rnanorm.datasets.load_toy_data

rnanorm.datasets.load_toy_data()[source]

Load a minimal, made-up raw count RNA-seq dataset.

This dataset is not representative of any real RNA-seq dataset. However, it is small and has just enough complexity to showcase the effects of methods. It is also simple enough to make calculation by hand possible.

Return type:

Bunch

Examples

>>> from rnanorm.datasets import load_toy_data
>>> dataset = load_toy_data()
>>> dataset.exp
          Gene_1  Gene_2  Gene_3  Gene_4  Gene_5
Sample_1     200     300     500    2000    7000
Sample_2     400     600    1000    4000   14000
Sample_3     200     300     500    2000   17000
Sample_4     200     300     500    2000    2000
>>> # TPM and FPKM normalization also require GTF file
>>> dataset.gtf_path
PosixPath('/Users/me/.../toy.gtf')