iblatlas.genomics.agea

A package for loading 4345 formatted and registered gene expression volumes

Functions

load

Reads in the Allen gene expression experiments binary data.

load(folder_cache=None, expression_size=(4345, 58, 41, 67))[source]

Reads in the Allen gene expression experiments binary data. Generation scripts from the Allen Institute are available in the gene-expression-scrapping folder

Parameters:
  • filename

  • folder_cache

Returns:

a dataframe of experiments (4345, 2), where each record corresponds to a single gene expression a memmap of all experiments brain volumes, size (4345, 58, 41, 67) corresponding to

(nexperiments, ml, dv, ap). The spacing between slices is 200 um

a brainatlas object with the labels and coordinates matching the gene expression volumes