There is a newer version of the record available.

Published June 19, 2026 | Version v2

Warming disrupts infection patterns and primarily accelerates Ostreococcus-virus infection dynamics in the Baltic Sea

  • 1. ROR icon Universität Hamburg
  • 2. EDMO icon University of Hamburg

Description

These are the R Scripts and data files needed to run the statistics and visualizations in

Warming disrupts infection patterns and primarily accelerates Ostreococcus-virus infection dynamics in the Baltic Sea

Carina Peters*1, C.-Elisa Schaum1, Luisa Listmann1

1Institute of Marine Ecosystem and Fisheries Science, University of Hamburg, Hamburg, Germany

*Corresponding author: carina.peters@uni-hamburg.de

 

1. R Script: PlaqueGrowthFit 18-24C.R
Datasets needed: PlaqueSizeTracking_18C.csv, PlaqueSizeTracking_20-24C.csv

Datasets produced in this code for further analysis: slopes_modelsummary_alltemps_goodR2_0.7R2.csv, slopes_modelsummary18_goodR2_0.7.csv

Used for linear fits and extracting slopes for each plaque from the cross infection at 18°C and the warmed infection at 20,22 and 24°C. As not all plaques were measurable, not all infections have diameter measurements. In addition, some were difficult to measure due to being, e.g.  faint or irregular, therefore only fits with an R2 of 0.7 or bigger were included in further analysis. 

2. R Script: Network Analysis statistics and null models.R
Datasets needed: Infection_Matrix.csv, optional to avoid run time: Q_nulls_results.rds

Datasets produced in this code for further visualization: mod_object_Jan2026.rds

Used to run the network analysis of binary infection data at 18°C for all host virus combinations.

3.  R Script:Network Analysis Visualization.R
Datasets needed: Infection_Matrix.csv, Infection_Matrix_NA.csv, mod_object_Jan2026.rds, slopes_modelsummary18_goodR2_0.7.csv

Used to visualize the modular infection network with an overlay of the fitted plaque-growth rates at 18°C.

 4.  R Script: PlaqueSize_Stats.R
Datasets needed: slopes_modelsummary18_goodR2_0.7.csv, Ostreo_data.csv, Virus_data.csv, Host+Virus+Cluster_Info

Used for statistical analysis of differences in extracted plaque growth rates at 18°C between/within different clusters, host groups or virus groups.

5.  R Script: DOI_Stats.R
Datasets needed: Day of Infection Table.csv, Ostreo_data.csv, Virus_data.csv, Host+Virus+Cluster_Info

Used for statistical analysis of differences in observed first visible day of infection (DoI) between/within different clusters, host groups or virus groups.

6.  R Script: GAM_InfectedHost_Warming_new.R
Datasets needed: slopes_modelsummary_alltemps_goodR2_0.7R2.csv, Ostreo_data.csv, Virus_data.csv, Host+Virus+Cluster_Info

Used to fit a GAM model of the plaque growth rates across temperatures for each group of viruses originating from the same host for each infected host of the warmed cross infection. Additionally this also includes the visualization of the predicted GAM fits.

Datasets for visualization: Mumax_perStrain_withzeros.csv, rTPC_modelfits_new_17042026.csv

These two datasets contain the observed maximum growth rates and the predicted maximum growth rates of the Ostreococcus strains used in this study at different temperatures from a previous experiment (https://doi.org/10.64898/2026.01.13.698997) to visualize the plaque-growth rates together with thermal performance curves of the uninfected host. 

7.  R Script: Phylogenetic Tree Virus.R
Datasets needed: Tree_labels.csv,Phylotree_Viruses_polB_13.02.2026.nwk

Additionally provided: Fasta file PolBSequences_Virus_Fasta_13.02.2026.fasta if tree building wants to be replicated in the program of your choice.

Used to visualize the phylogenetic tree in R. The tree file was computed in Codon Code Aligner.

8.  R Script: PresenceAbsenceChanges_GLMM.R
Datasets needed: Binary_Infection_Success_Table.csv

Used for statistical analysis via GLMM of quantitative changes in presence/absence data on infections between the different temperature treatments.

 

Files

Binary_Infection_Success_Table.csv

Files (1.8 MB)

Name Size
md5:df47887924920b90608e2ba5ef15cb3d
42.7 kB Preview Download
md5:f5855138143fd9bb5cabf3d0d6539fb3
92.6 kB Preview Download
md5:dda37461d01983d2f545ac3956f8e5f6
15.6 kB Download
md5:e82b3e324b7a82ae8d169f8bf2f1b4f6
11.8 kB Download
md5:21cc2c129d27b9f6320b5d68d997fbc1
6.6 kB Preview Download
md5:5fcb5d157082e741a1407061b32cdc5a
5.9 kB Preview Download
md5:60efcaa0e05a8607891682b83236063d
5.6 kB Preview Download
md5:3a6e8ab95cad79130dcce9eb8b3a5207
1.7 kB Download
md5:d0791ddbda709c6d586db558d440b3ea
73.6 kB Preview Download
md5:19551b12da0997132ab2b7a36e30ed50
3.1 kB Download
md5:3c9bbe9c4fd66a8579e3dde203cabbca
7.1 kB Download
md5:dbf6280de896895080c9bd33fa13cfd2
1.8 kB Preview Download
md5:ad57d83986b773eef9301bf64354c89a
1.3 kB Download
md5:a207aaad306b5961a3f28dff7d04e052
4.2 kB Download
md5:f56f130b90af531ecaf15a8abdf73ad4
6.0 kB Download
md5:040af03ee0e37e36b97a8506db569583
15.8 kB Download
md5:1aee8169d25ed93e45e69e5d74a2f042
359.1 kB Preview Download
md5:7c6885c3cbe9bde7817f65dd4d97ac47
683.7 kB Preview Download
md5:c31f73a38ca8db8060baf9403491367b
25.5 kB Download
md5:380b5f4df825b2d90d8553e6c27da838
1.6 kB Download
md5:366e906d6f6a85d2a753c83dd7b3879f
6.7 kB Download
md5:9854d8f9dba3d1c93c4a24a77dfe139d
247.3 kB Preview Download
md5:f61f8eb1c903cda56365d48ca50bfd28
29.0 kB Preview Download
md5:ef42f028af17037b7172e3c27436a5f8
95.2 kB Preview Download
md5:ceff3c7b2b129773961ecf1c79754a5c
9.1 kB Preview Download
md5:63eb2539f4513a56157e16951d080bc3
4.4 kB Preview Download