Agent skill · Data & Analytics

bio-microbiome-diversity-analysis

Alpha and beta diversity analysis for microbiome data. Calculate within-sample richness, evenness, and between-sample dissimilarity with phyloseq and vegan. Use when comparing community composition across samples or testing for group differences in microbiome structure.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-code
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-microbiome-diversity-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/bio-microbiome-diversity-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: R stats (base), ggplot2 3.5+, phyloseq 1.46+, scanpy 1.10+, vegan 2.6+ Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Diversity Analysis **"Compare microbial diversity across my samples"** → Calculate alpha diversity (within-sample richness/evenness) and beta diversity (between-sample dissimilarity) to test for community composition differences across groups. - R: `phyloseq::estimate_richness()` for alpha, `phyloseq::ordinate()` for beta - R: `vegan::adonis2()` for PERMANOVA testing ## Create phyloseq Object ```r library(phyloseq) library(vegan) library(ggplot2) seqtab <- readRDS('seqtab_nochim.rds') taxa <- readRDS('taxa.rds') metadata <- read.csv('sample_metadata.csv', row.names = 1) ps <- phyloseq(otu_table(seqtab, taxa_are_rows = FALSE), tax_table(taxa), sample_data(metadata)) taxa_names(ps) <- paste0('ASV', seq(ntaxa(ps))) ``` ## Alpha Diversity ```r # Calc

What's inside
Steps it walks through
  1. Version Compatibility
  2. Create phyloseq Object
  3. Alpha Diversity
  4. Alpha Diversity Plots
  5. Faith's Phylogenetic Diversity
  6. Rarefaction Curves
  7. Rarefaction
  8. Beta Diversity
  9. PERMANOVA
  10. Beta Dispersion
  11. NMDS Ordination
  12. Distance Metrics Comparison
  13. Related Skills
Ships with 2 files
  • examples/diversity_analysis.R
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-microbiome-diversity-analysis skill do?

Alpha and beta diversity analysis for microbiome data. Calculate within-sample richness, evenness, and between-sample dissimilarity with phyloseq and vegan. Use when comparing community composition across samples or testing for group differences in microbiome structure.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-microbiome-diversity-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going