Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

This package contains all the software used to implement TEA in WormBase and remotely

Project Description

Tissue Enrichment Analysis (TEA)

This repository holds the scripts to calculate enrichment of a set of labels using hypergeometric statistics. Results are output to a dataframe. A standard plotting function is provided, but it is really just a thin wrapper around a seaborn plot.

Requirements

This library has been developed in Python >= 3.5, using the Anaconda distribution. Requirements include pandas, matplotlib, numpy, scipy and seaborn.

Installation

Use pip install tissue_enrichment_analysis

Basic Usage

Web usage

Go to www.wormbase.org/tea, input your gene list and enjoy the results!

Within a Python Script

There are really just two main functions that are provided in TEA: enrichment_analysis and plot_enrichment_results.

A standard call to this library would be as follows:

import tissue_enrichment_analysis as tea

gene_list= some_gene_list

tissue_df= tea.fetch_dictionary()

df_results= tea.enrichment_analysis(tissue_df, gene_list, aname= 'FileName')

tea.plot_enrichment_results(df_results, title= 'FileName')

Calling from Terminal

Gene enrichment analysis can be generated easily by calling the program via terminal using: tea tissue_dictionary your_gene_list -[OPTIONS]

Type tea -h for help and full documentation.

Future Work

We may try to add support for other model organisms!

Contact

If you find any bugs, have suggestions or just want to say hi, feel free to contact me at dangeles@caltech.edu

Good luck!

David Angeles-Albores

Author:

David Angeles-Albores

Contributors:

Raymond Y. Lee, Paul W. Sternberg

Acknowledgements

With special thanks to the entire worm community!

Release History

Release History

This version
History Node

0.13.8

History Node

0.13.4

History Node

0.13.3

History Node

0.13.2

History Node

0.13.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tissue_enrichment_analysis-0.13.8.tar.gz (7.7 kB) Copy SHA256 Checksum SHA256 Source Mar 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting