Skip to main content

DEA

DEA stands for differential expression analysis, a common analysis in bioinformatics done to explore the most significantly differentially expressed genes between 2 predefined groups. DEA is a simple python package that implements related-tools for differential expression analysis as well as visualizing the output on a volcano plot.

Download Package

Download the DEA package by:

pip install git+https://github.com/jeffliu6068/DEA.git

or

pip install DEA

Import

Once installed, import the package by:

import DEA

Intuition: How DEA Works to Identify Differentially Expressed Genes

During DEA, the input group of samples will be compared to the rest of the samples. The degree of difference is measured in fold change which is the mean(group1) divided by the mean(group2) and the significance of the difference is measured using a Student t-test with Bonferroni multiplicity correction as an option. This returns a dataframe with the p-value and fold change of each differentially expressed gene. P-value > 0.05 are removed. This output is then plotted onto a volcano plot for easy visualization.

Available Tools in the DEA Package

Differentially Expressed Genes

import DEA

dea_df = DEA.compare_clusters(df, X_label, correction=False)

df is the input dataframe with genes (row) x samples (columns) and X_label is a list of samples part of df that is compared to the rest of the df

Volcano Plot

DEA.volcano_plot(dea_df, 5,2)

Volcano plots the log2(fold change) on the x-axis and -log10(p-value) on the y-axis. The last 2 parameters 5, 2 in this case are the -log10(p-value) threshold and log2(fold change) threshold used to define the points that will be annotated on the graph.

Authors

  • Ta-Chun (Jeff) Liu - jeffliu6068
  • Sir Walter Fred Bodmer FRS FRSE - Supervision

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration: Thank you for all that has contributed ideas and expertise to make this possible. Let's advance science together.

Release files for DEA 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DEA 0.2
File Size Uploaded
DEA-0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DEA 0.2
File Interpreter ABI Platform
DEA-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / DEA-0.2.tar.gz

Download URL DEA-0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f4f25ac3081d69aa7029aa65d884993d2c1d0e5490e9773e25953b3160ec3652
BLAKE2b-256 checksum
How to use checksums
48b8d98bef3cacfd6d9b37df95f89f0be35c8b9d44f2b8cf6ef9ca0b8683a833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release files / DEA-0.2-py3-none-any.whl

Download URL DEA-0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70f29329d4c0113480e176324c1fe9fb043057b2dd169538d168135eaf27e526
BLAKE2b-256 checksum
How to use checksums
e44ae5bb05825a0f4be1f9a364b19c4ffa6701c6f942a59d337e6f1c61db4ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page