Skip to main content

HiMaLAYAS

Python PyPI License Tests

Hierarchical Matrix Layout and Annotation Software (HiMaLAYAS) is a framework for post hoc enrichment-based annotation and visualization of hierarchically clustered matrices. HiMaLAYAS treats dendrogram-defined clusters as statistical units, tests categorical annotations for enrichment, controls multiple testing, and renders significant annotations alongside clusters. HiMaLAYAS supports both biological and non-biological domains.

For a full description of HiMaLAYAS and its applications, see:
Horecka, I., and Röst, H. (2026)
HiMaLAYAS: enrichment-based annotation and visualization of hierarchically clustered matrices
bioRxiv. https://www.biorxiv.org/content/10.64898/2026.02.11.705303v2
Submitted to Bioinformatics Advances.

Documentation and Tutorial

Installation

HiMaLAYAS is compatible with Python 3.8 or later and runs on major operating systems.

pip install himalayas
# Optional: faster clustering + richer compressed-label text processing
pip install "himalayas[speed,text]"

Detailed installation options and fallback behavior are documented at himalayas-base.github.io/himalayas-docs/1_installation.

Key Features of HiMaLAYAS

  • Real-Valued Matrix Input: Operates on real-valued matrices encoding relationships among observations.
  • Dendrogram-Defined Clusters: Cuts the dendrogram at a user-defined threshold to define dendrogram-defined clusters for downstream analysis.
  • Overrepresentation Testing: Uses a one-sided hypergeometric test to evaluate term enrichment in each cluster against the matrix background; genes with multiple term annotations are tested independently for each term, with no gene-level exclusivity.
  • Multiple-Testing Control: Supports Benjamini-Hochberg false discovery rate (FDR) correction for cluster-term tests, applied globally by default (fdr_scope="global").
  • Annotation Mapping and Rendering: Maps significant annotations onto the clustered matrix and supports publication-ready matrix visualizations.
  • No Redundancy Filtering: Does not perform Gene Ontology graph-aware redundancy filtering, such as collapsing parent-child terms or grouping terms by semantic similarity; all annotation terms passing the minimum-size and minimum-overlap thresholds are tested and reported independently.

Example Usage

We applied HiMaLAYAS to a hierarchically clustered Saccharomyces cerevisiae genetic interaction profile similarity matrix (Costanzo et al., 2016), focusing on genes with high profile variance. Dendrogram-defined clusters were tested for Gene Ontology Biological Process (GO BP; Ashburner et al., 2000) enrichment, with significant annotations rendered alongside clusters.

Figure 1 HiMaLAYAS workflow and application to a hierarchically clustered yeast genetic interaction profile similarity matrix (Costanzo et al., 2016). A real-valued matrix and categorical annotations serve as inputs. HiMaLAYAS cuts the dendrogram at a user-defined threshold, tests categorical annotations for enrichment, controls multiple testing, and renders significant annotations alongside clusters.

Citation

Primary citation

Horecka, I., and Röst, H. (2026)
HiMaLAYAS: enrichment-based annotation and visualization of hierarchically clustered matrices
bioRxiv. https://www.biorxiv.org/content/10.64898/2026.02.11.705303v2
Submitted to Bioinformatics Advances.

Software archive

HiMaLAYAS software for the bioRxiv preprint.
Zenodo. https://doi.org/10.5281/zenodo.19338505

Contributing

We welcome contributions from the community:

Support

If you encounter issues or have suggestions for new features, please use the Issues Tracker on GitHub.

License

This project is distributed under the BSD 3-Clause License.

Metadata

Release files for himalayas 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for himalayas 0.0.16
File Size Uploaded
himalayas-0.0.16.tar.gz 127.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for himalayas 0.0.16
File Interpreter ABI Platform
himalayas-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 229.1 kB

Release files / himalayas-0.0.16.tar.gz

Download URL himalayas-0.0.16.tar.gz
Size 127.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e4e992a10bc43cd9c9b1e3d1535cc4d2b780130dde681ab9a4fd8c92dbdaefd
BLAKE2b-256 checksum
How to use checksums
11b78646578f3e34dfe38a5f0141e3e0c541d177af25397ebea411b3e857ed08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / himalayas-0.0.16-py3-none-any.whl

Download URL himalayas-0.0.16-py3-none-any.whl
Size 101.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54a5f8209621e01da43ff7f857365236c298bbd60a64484e26f3afdc8ea6deb4
BLAKE2b-256 checksum
How to use checksums
11cfe384ad3c462788f3794d150e20abbab457a459d2ccf1bd0e117749d673d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page