Skip to main content

A package for mosaic/proportional heatmap visualization and matrix analysis

Project description

mheatmap logo mheatmap

PyPI version License: MIT

A Python package for advanced heatmap visualization and matrix analysis, featuring mosaic/proportional heatmaps, confusion matrix post-processing, and spectral reordering capabilities.


📋 Table of Contents

  1. 🚀 Features
  2. 📦 Installation
  3. 📘 Documentation
  4. 📚 Examples
  5. 🛠 Contributing
  6. 📝 License

🚀 Features

  • Mosaic Heatmap
    Visualize matrix values with proportionally-sized cells.
    Comparison between normal and mosaic heatmap

  • Automatic Model Calibration (AMC)
    Align, Mask, and Confusion—an algorithm for post-processing confusion matrices.

  • Spectral Reordering
    Reorder matrices based on spectral analysis. Spectral reordering example

  • RMS (Reverse Merge/Split) Analysis
    Perform advanced permutation analysis to explore matrix structures.
    RMS permutation example


📦 Installation

Install from PyPI

pip install mheatmap

Install from source

git clone https://github.com/qqgjyx/mheatmap.git
cd mheatmap
pip install .

📘 Documentation

Comprehensive documentation is available here.

📚 Examples

See Examples for more detailed examples.

🛠 Contributing

We welcome contributions to improve mheatmap! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (feature-branch)
  3. Commit your changes
  4. Open a pull request

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

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

mheatmap-1.2.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

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

mheatmap-1.2.1-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file mheatmap-1.2.1.tar.gz.

File metadata

  • Download URL: mheatmap-1.2.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for mheatmap-1.2.1.tar.gz
Algorithm Hash digest
SHA256 96eee740030028573174e7eab3044f31319dbc84855dfac0b50c425ae5e64149
MD5 f95f7a93b3896a8425edf883cf141234
BLAKE2b-256 6109b7c3cb1f1eb5e0f77b2efc3756b7f8613b2711518da7cff0b54a2f8bef78

See more details on using hashes here.

File details

Details for the file mheatmap-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: mheatmap-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for mheatmap-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 116501de82bdfa0b7d451dcc261cde92bae60fe382cac2eca0e1bc994c07b98c
MD5 7126b01c7192e4650a033a621c65032e
BLAKE2b-256 62d3d8e173b25f57d3273a759ab3e89460a9324d2b0aa6703840477ce84758c8

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