Review ITC analysis code for: $ARGUMENTS
Conducts expert review of R code for indirect treatment comparison analyses and amends issues.
/plugin marketplace add choxos/BiostatAgent/plugin install choxos-itc-modeling-plugins-itc-modeling@choxos/BiostatAgentReview ITC analysis code for: $ARGUMENTS
Comprehensive review of R code for indirect treatment comparison analyses (pairwise MA, NMA, MAIC, STC, ML-NMR) by an expert combining world-class ITC methodology knowledge with rigorous software engineering practices.
Specify your preferences:
comprehensive (detailed) | summary (bullet points)review_only | amend (create corrected code in subfolder)./amended/)Before reviewing, understand:
Check for issues in these areas:
Provide detailed analysis:
Provide concise output:
Create files in output_folder:
{output_folder}/
├── {filename}_amended.R # Corrected code
├── REVIEW_NOTES.md # Change summary
└── backup/
└── {filename}_original.R
# ITC Code Review - {date}
## Summary
- Total issues: X (Y Critical, Z Major, W Minor)
- Files reviewed: [list]
- Files amended: [list]
## Critical Issues
[Detailed description of each critical issue]
## Major Issues
[Detailed description of each major issue]
## Minor Issues
[Brief description of minor issues]
## Recommendations
- Additional analyses to consider
- Best practice improvements
## Changes Made (if amended)
- [List of specific changes per file]
## Package Versions
[Document all package versions used]
Critical: Could invalidate results
Major: Significantly impacts quality
Minor: Best practice improvements
Proceed with the review following these guidelines. </Task>
Based on configuration, the review will provide:
All of the above, plus:
# Comprehensive review only
Review my NMA analysis in analysis/nma_analysis.R
review_type: comprehensive
action: review_only
# Summary review with amendments
Review my MAIC code and fix issues
review_type: summary
action: amend
output_folder: ./reviewed/
# Focused review
Review the convergence diagnostics in my ML-NMR analysis
focus_areas: convergence, priors