Chapter 10 Evolutionary change (variable length genomes)

10.2 Analysis dependencies

Load all required R libraries.

These analyses were conducted/knitted with the following computing environment:

##                _                           
## platform       x86_64-pc-linux-gnu         
## arch           x86_64                      
## os             linux-gnu                   
## system         x86_64, linux-gnu           
## status                                     
## major          4                           
## minor          1.3                         
## year           2022                        
## month          03                          
## day            10                          
## svn rev        81868                       
## language       R                           
## version.string R version 4.1.3 (2022-03-10)
## nickname       One Push-Up

10.4 Evolution of phenotypic plasticity

For sensor-enabled populations in fluctuating environments, we only transfered populations containing an optimally plastic genotype to phase two.

## `summarise()` has grouped output by 'sensors', 'env_label'. You can override
## using the `.groups` argument.

We can confirm our expectation that the dominant genotypes in non-plastic conditions are not phenotypically plastic.

10.5 Genome length

Single-instruction insertions and deletions were possible for this experiment, so genome size also evolved.

## 
##  Kruskal-Wallis rank sum test
## 
## data:  dominant_genome_length by condition
## Kruskal-Wallis chi-squared = 82.798, df = 2, p-value < 2.2e-16
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  summary_data$dominant_genome_length and summary_data$condition 
## 
##         NON-PLASTIC PLASTIC
## PLASTIC 1.8e-10     -      
## STATIC  < 2e-16     1      
## 
## P value adjustment method: bonferroni
## [1] 45
## [1] 47
## [1] 393

10.7 Coalescence event count

The number of times the most recent common ancestor changes gives us the number of selective sweeps that occur during the experiment.

## [1] "PLASTIC: 45"
## [1] "STATIC: 47"
## [1] "NON-PLASTIC: 393"
## 
##  Kruskal-Wallis rank sum test
## 
## data:  phylo_mrca_changes by condition
## Kruskal-Wallis chi-squared = 168.89, df = 2, p-value < 2.2e-16
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  summary_data$phylo_mrca_changes and summary_data$condition 
## 
##         NON-PLASTIC PLASTIC
## PLASTIC <2e-16      -      
## STATIC  <2e-16      1      
## 
## P value adjustment method: bonferroni

10.7.1 Average number of generations between coalescence events

## [1] "PLASTIC: 695.504761904762"
## [1] "STATIC: 668.25523255814"
## [1] "NON-PLASTIC: 81.9208459944751"
## 
##  Kruskal-Wallis rank sum test
## 
## data:  generations_per_mrca_change by condition
## Kruskal-Wallis chi-squared = 171.73, df = 2, p-value < 2.2e-16
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  summary_data$generations_per_mrca_change and summary_data$condition 
## 
##         NON-PLASTIC PLASTIC
## PLASTIC <2e-16      -      
## STATIC  <2e-16      1      
## 
## P value adjustment method: bonferroni

10.8 Phenotypic volatility along the dominant lineage

## [1] "PLASTIC: 2"
## [1] "STATIC: 0"
## [1] "NON-PLASTIC: 1580"
## 
##  Kruskal-Wallis rank sum test
## 
## data:  dominant_lineage_trait_volatility by condition
## Kruskal-Wallis chi-squared = 191.98, df = 2, p-value < 2.2e-16
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  summary_data$dominant_lineage_trait_volatility and summary_data$condition 
## 
##         NON-PLASTIC PLASTIC
## PLASTIC < 2e-16     -      
## STATIC  < 2e-16     5.2e-08
## 
## P value adjustment method: bonferroni

10.9 Mutation count (along dominant lineage)

## [1] "PLASTIC: 1552"
## [1] "STATIC: 1724.5"
## [1] "NON-PLASTIC: 12123"
## 
##  Kruskal-Wallis rank sum test
## 
## data:  dominant_lineage_total_mut_cnt by condition
## Kruskal-Wallis chi-squared = 174.38, df = 2, p-value < 2.2e-16
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  summary_data$dominant_lineage_total_mut_cnt and summary_data$condition 
## 
##         NON-PLASTIC PLASTIC
## PLASTIC <2e-16      -      
## STATIC  <2e-16      0.57   
## 
## P value adjustment method: bonferroni