Skip to main content

Python heatmap interface using intuitive grammar of graphics, implemented as an rpy2 wrapper around ComplexHeatmap package

Project description

rpy2-complex-heatmap-grammar

Python heatmap interface using intuitive grammar of graphics, implemented as an rpy2 wrapper around ComplexHeatmap package.

Introduction

What this package is:

  • an exploration in search of the dream API for complex heatmap creation
  • trying to get the best of Python, ggplot2 (/plotnine) and ComplexHeatmap
  • oriented towards data exploration in Jupyter notebooks with IPython (-compatible) kernel
  • pushing boundaries for Python-R interoperability via rpy2

What this package is NOT:

  • likely not suitable for beginners (if you can get through installation/used rpy2 before you are not a beginner)
  • not a drop-in substitute for ComplexHeatmap for Python
  • not ready for production use (API is subject to change)
  • not affiliated with rpy2 or ComplexHeatmap

Intrigued? Check out the examples.

Installation

Requirements

  • Python >=3.9
    • packages: rpy2, pandas, numpy, IPython
  • R >=4.1
    • packages: ComplexHeatmap

Installation from PyPI:

pip install heatmap-grammar

Latest version:

pip install git+https://github.com/krassowski/rpy2-complex-heatmap-grammar.git

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

heatmap-grammar-0.0.5.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

heatmap_grammar-0.0.5-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

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