Skip to main content

A package for visualizing gene similarity

Project description

Gene Similarity Visualization Project

This project provides various visualizations of gene similarity based on a similarity matrix calculated between different genes.

Features

  • Heatmap: Visualizes gene similarity values as a color-coded grid.
  • Clustered Dendrogram: Displays hierarchical clustering of genes based on their similarity.
  • Network Graph: Visualizes gene pairs as nodes and edges with thickness representing similarity.
  • 3D Similarity Matrix: A 3D surface plot where each point represents similarity between two genes.
  • Bubble Chart: Represents gene pairs with bubble sizes proportional to similarity values.
  • Bar Plot: Shows the average similarity between each gene and all other genes.

Sample Charts

Here are some sample visualizations generated by the project:

1. Heatmap

Heatmap

2. Bubble Chart

Bubble Chart

3. Network Graph

Network Graph

4. Bar Plot

Bar Plot

Requirements

To run the project, the following packages are required (available in requirements.txt):

  • seaborn
  • matplotlib
  • pandas
  • click
  • numpy
  • scipy
  • networkx

Usage

  1. Clone the repository.

  2. Install the necessary dependencies by running:

    pip install -r requirements.txt
    
  3. Use the provided command-line interface to generate visualizations by running:

    python -m gene_similarity -f sample_genes_2.fa -l output_folder
    

This will generate various visualizations of gene similarity based on the input data.

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

gene_similarity-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gene_similarity-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file gene_similarity-0.1.0.tar.gz.

File metadata

  • Download URL: gene_similarity-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for gene_similarity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95d1cdeacdd12fc1b8e20d6211bbc5f7678a6c098815e81f8519c685712d988a
MD5 067cc3a7c976cf07c6abbb0c768fa927
BLAKE2b-256 382dde571998c67f1e2e62cb15561b761727b8f3d8b7a0bdb22133fe6c22dd54

See more details on using hashes here.

File details

Details for the file gene_similarity-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gene_similarity-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb2fa82bd91dfcda021d7e533efa8a56afce9804d96655e3fac0dd9c2b636160
MD5 d1abf63b465f6d8776c8d462148fdff8
BLAKE2b-256 dfe3da1242c4277f35c6c62582904e62789aa5f2f6f02711aa2056ee2b92a1f3

See more details on using hashes here.

Supported by

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