Skip to content
Back to skills

572 Usage Guide 8ea4f78d

ASecurity

Differential abundance testing identifies taxa that differ significantly between experimental groups while accounting for the compositional nature of microbiome data.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
databashtestinggit

Security analysis

A100/100

Scanned October 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide 8ea4f78d?

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

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

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

SKILL.md
# Differential Abundance - Usage Guide

## Overview

Differential abundance testing identifies taxa that differ significantly between experimental groups while accounting for the compositional nature of microbiome data.

## Prerequisites

```bash
# R packages
BiocManager::install(c('ANCOMBC', 'ALDEx2'))
install.packages('Maaslin2')
```

## Quick Start

Tell your AI agent what you want to do:
- "Find differentially abundant taxa between treatment and control"
- "Run ANCOM-BC2 with covariates for my microbiome study"

## Example Prompts

### Simple Comparisons
> "Run ALDEx2 to compare taxa abundance between two groups"

> "Find differentially abundant genera between healthy and diseased samples"

### Complex Designs
> "Run ANCOM-BC2 with age and sex as covariates"

> "Analyze differential abundance with MaAsLin2 for my longitudinal study"

### Filtering and Interpretation
> "Filter taxa present in fewer than 10% of samples before testing"

> "Which taxa have effect size greater than 1 and q-value below 0.05?"

## What the Agent Will Do

1. Filter low-abundance and rare taxa
2. Select appropriate method based on study design
3. Set up statistical model with covariates if needed
4. Run differential abundance test
5. Apply FDR correction
6. Filter by effect size and significance
7. Generate results table and visualizations

## Tips

- ALDEx2 is best for simple two-group comparisons
- ANCOM-BC2 handles complex designs with covariates
- MaAsLin2 is best for longitudinal and mixed effects
- Always use FDR correction (q-value < 0.05)
- Consider effect size, not just p-value

## Methods to Avoid

- Simple t-test (ignores compositionality)
- DESeq2/edgeR alone (designed for RNA-seq)
- LEfSe (outdated, no FDR control)

## Method Comparison

| Method | Best For | Handles Covariates |
|--------|----------|-------------------|
| ALDEx2 | Two-group comparisons | Limited |
| ANCOM-BC2 | Complex designs | Yes |
| MaAsLin2 | Longitudinal, mixed effects | Yes |

## Filtering Recommendations

Before testing:
- Remove taxa in <10% of samples
- Remove taxa with <0.1% mean abundance
- Remove samples with <1000 reads

## Effect Size Interpretation

| Metric | Meaningful Threshold |
|--------|---------------------|
| ALDEx2 effect | >1 or <-1 |
| Log2 fold change | >1 (2-fold difference) |

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.