Skip to main content

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, Juancarlos Chan, Paul W. Sternberg

Acknowledgements

With special thanks to the entire worm community!

Project details


Download files

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

Source Distribution

tissue_enrichment_analysis-0.13.12.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

tissue_enrichment_analysis-0.13.12-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file tissue_enrichment_analysis-0.13.12.tar.gz.

File metadata

File hashes

Hashes for tissue_enrichment_analysis-0.13.12.tar.gz
Algorithm Hash digest
SHA256 0d4e3e6837499381002d76d1e60510164ae527c944fba8bc0b6e9c74a718d832
MD5 b07ce687f6f21f28039285f98f7e08b0
BLAKE2b-256 1d51e9d8bb243a687b55085ca8b25ba32543eeb2affbb180cc4772027a44a583

See more details on using hashes here.

File details

Details for the file tissue_enrichment_analysis-0.13.12-py3-none-any.whl.

File metadata

File hashes

Hashes for tissue_enrichment_analysis-0.13.12-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb245261714f58c31d5b492cdf3935d49642f9b520acfe4bab6e61ac7543515
MD5 76277bf89f85bf08043077d17061a2df
BLAKE2b-256 8ff18238351a114a8b10caf1ba35aec0470f6c0146cbb4ed72856b90b9d1ca99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page