Code in R for the wrangling, statistical analysis, and visualization of experimental data assessing the impact of temperature and pressure on the motility of marine bacteria.
This repository includes code to perform data/statistical analysis and plot data to recreate figures seen in the above publication. Code is organized by the experiment/figure it coressponds to (e.g., Fig2_Growth_Rate_Expansion_Speed.R analyzes the growth rate and expansion speed data, then plots it as a function of pressure and temperature, creating Figure 2).
Project dependencies are listed at the top of the R script, along with a function to install and load the required packages. All the required data can be found in the Data_Files folder. The R script includes code to download and load the required CSV files directly, so manual download of data files is not required.
Running the code as is reproduces the results found in the above publication.