Treatment Toxicity Profile Test Scenarios Documentation
Source:R/data_toxicityprofile_docs.R
toxicityprofile_test_scenarios.Rd
Comprehensive testing scenarios designed to validate different aspects of enhanced treatment toxicity profile functionality using the toxicityprofile test datasets. Each scenario targets specific analysis capabilities, visualization types, and statistical methods for comprehensive validation.
Format
A data frame with 12 observations and 5 variables:
- Scenario
Character. Name of the testing scenario
- Dataset
Character. Recommended dataset for this scenario
- Analysis_Type
Character. Type of analysis being validated
- Variables
Character. Key variables for the analysis
- Expected_Result
Character. Expected outcome and validation criteria
Details
This documentation provides systematic testing scenarios covering all major toxicity profile analysis capabilities and validation requirements:
Core Analysis Types Tested:
Basic Toxicity Profiling: Frequency distributions and grade analysis
Treatment Comparisons: Statistical testing and risk assessment
High-Grade Event Analysis: Focus on serious adverse events (Grade ≥3)
System Organ Class Analysis: Regulatory reporting by organ system
Time-to-Event Analysis: Cumulative incidence and timing patterns
Dose-Response Analysis: Dose-dependent toxicity relationships
Immunotherapy-Specific: Immune-related adverse event patterns
Pediatric Safety: Age-appropriate toxicity profiling
Statistical Testing: Comprehensive validation of statistical methods
Confidence Intervals: Exact binomial and bootstrap methods
Edge Case Robustness: Small sample and extreme scenario testing
Visualization Testing: Multiple plot types and formatting options
Statistical Methods Validated:
Fisher's exact test for treatment comparisons
Chi-square test for grade distribution differences
Exact binomial confidence intervals for incidence rates
Risk ratio calculations with confidence intervals
Time-to-event analysis and cumulative incidence
Dose-response trend testing
Visualization Types Tested:
Stacked bar charts with grade distributions
Dot plots with confidence intervals
Heatmaps for comprehensive overviews
Time-to-event curves and cumulative incidence plots
System organ class summaries
Each scenario includes the recommended dataset, analysis type, key variables, and expected results for comprehensive validation of enhanced toxicity profile analysis capabilities.