Skip to content
Back to skills

572 Usage Guide 8e3e3eac

ASecurity

The enrichplot package provides visualization functions for clusterProfiler results, including dot plots, bar plots, networks, and GSEA-specific plots.

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

Security analysis

A100/100

Scanned October 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide 8e3e3eac?

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

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

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

SKILL.md
# Enrichment Visualization - Usage Guide

## Overview
The enrichplot package provides visualization functions for clusterProfiler results, including dot plots, bar plots, networks, and GSEA-specific plots.

## Prerequisites
```r
if (!require('BiocManager', quietly = TRUE))
    install.packages('BiocManager')

BiocManager::install(c('clusterProfiler', 'enrichplot'))
```

## Quick Start
Tell your AI agent what you want to do:
- "Create a dotplot of my GO enrichment results"
- "Make a gene-concept network from my KEGG enrichment"
- "Show a GSEA running score plot for my top pathway"

## Example Prompts
### Dot Plots
> "Create a dotplot showing the top 20 enriched GO terms"

> "Make a dotplot of my KEGG results with adjusted font size for long pathway names"

### Network Plots
> "Create a gene-concept network colored by fold change"

> "Generate an enrichment map clustering similar GO terms together"

### GSEA Plots
> "Show a GSEA running score plot for the top 3 enriched pathways"

> "Create a ridge plot showing fold change distributions for each gene set"

### Customization
> "Save the enrichment dotplot as a PDF at publication quality"

> "Change the color scale to viridis on my enrichment plot"

### Comparison Plots
> "Create a dotplot comparing enrichment results between up and down regulated genes"

## What the Agent Will Do
1. Take enrichment results from GO, KEGG, or GSEA analysis
2. Select appropriate plot type based on request
3. For emapplot, compute pairwise term similarity first
4. Generate publication-quality figure with appropriate sizing
5. Save to PDF or PNG with specified dimensions

## Plot Types Quick Reference

| Plot Type | Function | Best For |
|-----------|----------|----------|
| Dot plot | dotplot() | Overview of top terms |
| Bar plot | barplot() | Simple count/ratio display |
| Network | cnetplot() | Gene-concept relationships |
| Map | emapplot() | Term similarity clusters |
| Tree | treeplot() | Hierarchical term grouping |
| Upset | upsetplot() | Overlapping genes |
| GSEA | gseaplot2() | Running enrichment score |
| Ridge | ridgeplot() | Fold change distribution |
| Heatmap | heatplot() | Gene-concept matrix |

## Choosing a Visualization

### For Over-Representation Results
- Starting point: dotplot() - best overview
- Show relationships: cnetplot() - genes and terms
- Cluster terms: emapplot() - similar terms grouped
- Compare groups: dotplot() with compareCluster result

### For GSEA Results
- Starting point: ridgeplot() - all gene sets
- Detailed view: gseaplot2() - running score for specific sets
- Overview: dotplot() - works for GSEA too

## Tips
- dotplot() is the most common choice for publications - start there
- For emapplot(), always run pairwise_termsim() first on your enrichment result
- Use showCategory parameter to control number of terms displayed
- For long term names, increase plot width and reduce font size
- cnetplot() with circular = TRUE helps with crowded networks
- gseaplot2() accepts multiple geneSetID values to compare pathways
- Use ggsave() for better control over output dimensions and resolution

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.