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.0.0.tar.gz (13.8 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.0.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mheatmap-1.0.0.tar.gz
Algorithm Hash digest
SHA256 920777277b1c3ce7dd6e4029729d27158a56450a12f7089cf8b149230b8a3d9c
MD5 d807408919d66b2db48303b97c064c33
BLAKE2b-256 8d302b064607e748e2b705123b292b7a84b9788673775eed0ce20b9088ff7e5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mheatmap-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f0e8a7c4e5c9eed2bde08f3c4ee39f4a90484303dffab2c0d412ef4ede9f5c5
MD5 5b39cd13eec599f3b81fe6c30fcf7536
BLAKE2b-256 071472a4f7d3ed8cb4c02e233cdfc9faf14d7ee6091d6f92b3d70331b09c779b

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