Skip to content
Back to skills

572 Usage Guide 0f974469

ASecurity

Visualize and statistically analyze metagenomic profiles using Python (matplotlib, seaborn, scikit-learn) or R (phyloseq, vegan, ggplot2).

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

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_0f974469 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide 0f974469?

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

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

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

SKILL.md
# Metagenome Visualization - Usage Guide

## Overview
Visualize and statistically analyze metagenomic profiles using Python (matplotlib, seaborn, scikit-learn) or R (phyloseq, vegan, ggplot2).

## Prerequisites
```bash
# Python
pip install pandas matplotlib seaborn scikit-learn scipy

# R
Rscript -e "BiocManager::install(c('phyloseq', 'microbiome'))"
Rscript -e "install.packages(c('vegan', 'ggplot2'))"

# Krona for interactive charts
conda install -c bioconda krona
```

## Quick Start
Tell your AI agent what you want to do:
- "Create a stacked bar chart of community composition"
- "Make a heatmap of the top 20 species across samples"
- "Plot PCoA to visualize sample clustering"

## Example Prompts
### Composition Plots
> "Create a stacked bar plot showing phylum-level composition for all samples"

> "Make a heatmap of the top 15 most abundant species across my samples"

### Ordination and Clustering
> "Run PCoA with Bray-Curtis distance and color by treatment group"

> "Cluster my samples based on species profiles and show a dendrogram"

### Diversity Analysis
> "Calculate and plot alpha diversity (Shannon, Simpson) for each group"

> "Create rarefaction curves for all my samples"

### Interactive Visualization
> "Generate a Krona chart from my Kraken2 output"

> "Make an interactive plot where I can hover to see species names"

## What the Agent Will Do
1. Load and parse abundance data (MetaPhlAn, Bracken, or other formats)
2. Filter to relevant taxonomic levels and aggregate if needed
3. Create publication-quality visualizations
4. Save figures in requested format (PNG, PDF, SVG)

## Tips
- MetaPhlAn outputs relative abundance (sums to 100%)
- Bracken outputs read counts (normalize before comparing)
- Use log transformation for highly skewed data
- phyloseq objects integrate abundance, taxonomy, and metadata
- vegan's `vegdist` supports many distance metrics (Bray-Curtis, Jaccard, etc.)

## Common Visualizations

| Type | Purpose |
|------|---------|
| Stacked bar | Community composition |
| Heatmap | Taxa across samples |
| PCA/PCoA | Sample clustering |
| Alpha diversity | Within-sample diversity |
| Krona chart | Interactive hierarchical |

## Resources
- [phyloseq Tutorial](https://joey711.github.io/phyloseq/)
- [vegan Documentation](https://cran.r-project.org/web/packages/vegan/vegan.pdf)

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.