GithubHelp home page GithubHelp logo

pygest's Introduction

PyGEST: Python Gene Expression Spatial Toolkit

Brief Description

This project serves first as a wrapper to the Allen Brain Institute's human gene expression data. It tracks whether data have been downloaded to local disk, read into memory, etc. and returns pandas dataframes of requested parts of the dataset. If the data are in memory, a reference to the dataframe is returned very quickly. If not, it may take some time to load from disk, or download from brain-map.org first.

It also performs computations comparing gene expression filtered from ABI with other matrices like functional connectivity.

Usage (python3)

This project is still in planning and initial development. Usage will certainly change before the initial release.

Initialize with a path to BIDS structure.

import pygest as ge
from pygest.reporting import sample_overview

data = ge.Data('/home/mike/ge_data')

Now use any of the functions.

probes = data.probes()
samples = data.samples()
expr = data.expression()

args = {"donor": "H03511009", "hemisphere": "L", "ctx": "all"}
pdf_path = sample_overview(data, args, save_as="/home/mike/report.pdf")

Usage (bash)

Data must be structured appropriately, see nonexistent future documentation. ;)

pygest push --probes richiardi --samples cor --comparator /var/fcfile.df -v

Status

The current state of the project is immature. It is untested, in development, and should not yet be used, other than for testing and experimentation. Code that works today may not tomorrow, and vice-versa.

pygest's People

Contributors

mfschmidt avatar

Watchers

Spiro Pantazatos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.