Evolutionary Selection Analysis
Evolutionary Selection Analysis Framework | 1. Overview | 2. Mathematical Framework | 2.1 Relative Fitness | 2.2 Trait Standardisation | 2.3 Selection Differential | 2.4 Linear Selection Gradients | 2.5 Nonlinear Selection Gradients | 2.6 Nonparametric Fitness Functions and Surfaces | 2.7 Adaptive Landscapes (Population Level) | 2.8 Landscapes over Time | 3. Framework Structure | 3.1 Core Scripts and Their Roles | 3.2 Function Dependencies | 4. Installation and Requirements | 4.1 Loading the package | 4.2 Package Descriptions | 4.3 Example data and the app | 5. Detailed Function Reference | 5.1 prepare_selection_data() | 5.2 detect_family() | 5.3 selection_differential() | 5.4 analyze_linear_selection() | 5.5 analyze_nonlinear_selection() | 5.6 analyze_disruptive_selection() | 5.7 univariate_spline() | 5.8 plot_univariate_fitness() | 5.9 correlated_fitness_surface() | 5.10 plot_correlated_fitness() | 5.11 adaptive_landscape() | 5.12 plot_adaptive_landscape() | 5.13 selection_coefficients() | 5.14 selection_report() | 5.15 compare_fitness_surfaces_data() | 5.16 temporal_landscape() and plot_temporal_landscape() | 5.17 canonical_analysis() and plot_canonical_axes() | 6. Interpretation Guide | 6.1 Statistical Significance | 6.2 Selection Types | 6.3 Effect Sizes | 6.4 Example Interpretations | 7. Troubleshooting and Common Issues | 7.0 Assumption Checks | 7.1 Sample Size Recommendations | 7.2 Convergence Issues in Binary Models | 7.3 Missing Data | 7.4 Multicollinearity | 7.5 Reduced k Warning | 8. References