removebatch - Remove Batch Effects from Phyloseq Using MMUPHin
Remove batch effects from phyloseq data using MMUPHin::adjust_batch while preserving the target biological covariate.
Tags
Updated: 2026-09-12Capabilities
What this skill does
- Load phyloseq RDS data
- Validate batch and covariate metadata
- Compute relative abundance matrix
- Adjust batch effects using MMUPHin
- Rebuild phyloseq with original tree
- Generate report and diagnostic plot
Inputs
- Phyloseq RDS file
- Output directory path
- Batch variable column name
- Target covariate column name
- Diagnostic plot file path
Outputs
- Adjusted phyloseq RDS file
- Batch adjustment JSON report
- MMUPHin diagnostic PDF plot
Requirements
- Rscript environment
- MMUPHin R package
- phyloseq R package
- SLURM workload manager for large datasets
