Sovereign 8s.is mirror of standardgalactic/Strain_diversification
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| MAG_instrain_analysis.rmd | ||
| README.md | ||
| strain_diversification_inputs.tar.gz | ||
This R markdown file written in the R programming language can be used to reproduce all results in the manuscript "Isolation by distance promotes strain diversification in the wild mouse gut microbiota".
The code has been tested in R v4.5.0. The install time of required libraries is typically less than 1 hour on a standard desktop computer.
To run the analysis:
- unzip
strain_diversification_inputs.tar.gzin the working directory withtar -xzvf strain_diversification_inputs.tar.gz. - Open
MAG_instrain_analysis.Rmdin RStudio (or another interactive IDE). - Run all code chunks in order.
Expected outputs are described in the R script. The expected runtime for all analyses on a standard desktop computer is < 4 hours.
The following R libraries are required:
DescTools
geosphere
ape
vegan
MKinfer
ecodist
phytools
tidyverse
nlme
permuco