Skip to main content

Package is designed to create a html report from ReactomeGSA results

Project description

ReactomeGSA-Viz

Python Version >= 3.6 License: MIT Test Package PyPI version

ReactomeGSA-Viz is a specialized Python tool designed to transform raw JSON results from the ReactomeGSA service into professional, interactive HTML reports.

This package simplifies the interpretation of Gene Set Analysis (GSA) by providing clear summaries for individual datasets and powerful comparative visualizations across multiple datasets.

Key Features

  • Automated Summaries: Generates concise overview reports for every dataset analyzed.
  • Comparative Analysis: Built-in logic to compare enrichment results across different experimental conditions or datasets.
  • Interactive Bubble Plots: Visualizes pathway enrichment (p-values, fold changes, and pathway size) using interactive charts.
  • Detailed Data Tables: Searchable and sortable tables for deep dives into specific pathway results.
  • Self-Contained: All assets are embedded directly into a single HTML file for easy sharing.

Requirements

The package requires Python 3.6 or higher.

Installation

Install the package via pip:

pip install reactomegsa-viz

Usage

Integrate the report generator into your own pipelines:

import json
import gzip
from reactomegsa_viz import HtmlReportGenerator

# 1. Load your ReactomeGSA results
with gzip.open("tests/results.json.gz", "rt") as f:
    data = json.load(f)

# 2. Generate the interactive report
HtmlReportGenerator.create_report(
    json_dict=data, 
    out_html="test_package.html", 
    r_script_token="R_SCRIPT_TOKEN",
    reactome_url="https://gsa.reactome.org"
)

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

reactomegsa_viz-0.2.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

reactomegsa_viz-0.2-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file reactomegsa_viz-0.2.tar.gz.

File metadata

  • Download URL: reactomegsa_viz-0.2.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reactomegsa_viz-0.2.tar.gz
Algorithm Hash digest
SHA256 9b50e2a740c3da182d15faa1e1f92d67e0fe2d1dafa7900aa81635b188a0d566
MD5 c1fd208d1673cc5dead24ef8d4b4668c
BLAKE2b-256 d59280f9858dd66cfe0a55a394ba84a10132c0672589c9e7228c4b2edcc6b0ff

See more details on using hashes here.

File details

Details for the file reactomegsa_viz-0.2-py3-none-any.whl.

File metadata

  • Download URL: reactomegsa_viz-0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reactomegsa_viz-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c546dcaba8f640afb4a1085e1f4d8e1a4493b904796935ce58f7cbe8c7f9ec07
MD5 655a3ae17db8ca12c148eb25f8aa5f3e
BLAKE2b-256 0907e089e9ca8fc3bd55b2f62f9bcb29ba0e85d88c3039c3a8d108d93b509f18

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