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

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"
)

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.1.tar.gz (25.7 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.1-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reactomegsa_viz-0.1.tar.gz
  • Upload date:
  • Size: 25.7 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.1.tar.gz
Algorithm Hash digest
SHA256 833b55f54273d90f9b8b269b382fb560fb32792aa822ef0adaae86a20a600148
MD5 6b9076787ef0ebd7dd26eaf30540e7fc
BLAKE2b-256 ed934bb37b704c55ecb2525457b33eae921393c81065fb34ea420160f3ef3210

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reactomegsa_viz-0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c94627688b7a22aec3ab683fb6bd714119fc093b30e8639cb688a03b49f703e7
MD5 66ae79181b5f072a074a6e9486617b6e
BLAKE2b-256 d211e2e88e132831fa2313d5baf838da3135cd7b2746b5c0ee6e061900359a5f

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