allensdk.api.queries.mouse_atlas_api module

class allensdk.api.queries.mouse_atlas_api.MouseAtlasApi(base_uri=None)[source]

Bases: allensdk.api.queries.reference_space_api.ReferenceSpaceApi, allensdk.api.queries.grid_data_api.GridDataApi

Downloads Mouse Brain Atlas grid data, reference volumes, and metadata.

DEVMOUSE_ATLAS_PRODUCTS = (3,)
HUMAN_ORGANISM = (1,)
MOUSE_ATLAS_PRODUCTS = (1,)
MOUSE_ORGANISM = (2,)
download_expression_density(**kwargs)[source]
download_expression_energy(**kwargs)[source]
download_expression_intensity(**kwargs)[source]
get_genes(**kwargs)[source]

Download a list of genes

Parameters:
organism_ids : list of int, optional

Filter genes to those appearing in these organisms. Defaults to mouse (2).

chromosome_ids : list of int, optional

Filter genes to those appearing on these chromosomes. Defaults to all.

Returns:
list of dict:

Each element is a gene record, with a nested chromosome record (also a dict).

get_section_data_sets(**kwargs)[source]

Download a list of section data sets (experiments) from the Mouse Brain Atlas project.

Parameters:
gene_ids : list of int, optional

Filter results based on the genes whose expression was characterized in each experiment. Default is all.

product_ids : list of int, optional

Filter results to a subset of products. Default is the Mouse Brain Atlas.

Returns:
list of dict :

Each element is a section data set record, with one or more gene records nested in a list.