Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror abagen.mouse functionality for human API #100

Open
rmarkello opened this issue Sep 13, 2019 · 0 comments
Open

Mirror abagen.mouse functionality for human API #100

rmarkello opened this issue Sep 13, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@rmarkello
Copy link
Owner

The issue

The abagen.mouse module provides some functionality for making Pythonic queries to the Allen API. For example, to get gene expression data for Prodynorphin from the anterior cingulate of the mouse, you would call:

>>> from abagen import mouse
>>> mouse.get_unionization_from_gene(name='prodynorphin', 
...                                  structures='Anterior cingulate area')
                      expression_density
gene_id structure_id                    
18376   31                      0.017199

Though the mouse module hasn't received much attention since #32, it might be nice to have a similar module for querying information from the human API.

Proposed solution

I'm thinking that having an abagen.api module could hold all this for the human data and would be designed similar to the abagen.mouse module. An example function could include:

>>> from abagen import api
>>> api.get_expression_from_gene(name='prodynorphin', donors='9861',
...                              structures='cingulate gyrus')

This is quite an open-ended enhancement so happy to workshop things a bit!

@rmarkello rmarkello added enhancement New feature or request low priority and removed low priority labels Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant