Skip to content
Back to skills

572 Usage Guide F8d67e68

ASecurity

Clustered heatmaps visualize matrix data (expression, methylation, etc.) with hierarchical clustering to reveal patterns across samples and features.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
designpythonbashexpress

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 572-usage-guide_f8d67e68 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide F8d67e68?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 572 Usage Guide F8d67e68
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-572-usage-guide-f8d67e68/badge)](https://www.skillsdirectory.com/skills/tools-only-572-usage-guide-f8d67e68)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Heatmaps and Clustering - Usage Guide

## Overview
Clustered heatmaps visualize matrix data (expression, methylation, etc.) with hierarchical clustering to reveal patterns across samples and features.

## Prerequisites
```r
# R
install.packages('pheatmap')
BiocManager::install('ComplexHeatmap')
```

```bash
# Python
pip install seaborn matplotlib scipy
```

## Quick Start
Tell your AI agent what you want to do:
- "Create a heatmap of my top DE genes with sample annotations"
- "Cluster my expression matrix and extract cluster assignments"
- "Make a heatmap with row and column annotations"

## Example Prompts
### Basic Heatmaps
> "Create a heatmap of my expression matrix with clustering"

> "Make a quick heatmap of my top 50 variable genes"

### Annotations
> "Add sample annotations showing treatment and batch"

> "Color row annotations by gene pathway"

### Complex Layouts
> "Split my heatmap by gene pathway"

> "Create side-by-side heatmaps for two conditions"

## What the Agent Will Do
1. Prepare and scale the data matrix (typically z-score rows)
2. Set up annotation data frames for rows/columns
3. Choose appropriate distance metric and clustering method
4. Configure color palette and legend
5. Generate and export the heatmap

## Tool Selection

| Tool | Language | Best For |
|------|----------|----------|
| pheatmap | R | Quick, publication-ready heatmaps |
| ComplexHeatmap | R | Complex annotations, multiple heatmaps |
| seaborn clustermap | Python | Python workflows, simple annotations |

## Tips
- Scale data (z-score rows) for expression data
- Use correlation distance for expression, euclidean for abundance
- ward.D2 linkage often works well for biological data
- Use diverging palettes (RdBu) for centered data, sequential otherwise
- Limit to 50-100 genes for readability

## Related Skills
- **data-visualization/color-palettes** - Color selection
- **differential-expression/de-visualization** - DE-specific plots

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.