Sovereign 8s.is mirror of standardgalactic/Strain_diversification
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brian Dillard 104feef300
Update README.md
reverting previous change and fixing formatting
2026-03-19 22:02:16 -04:00
MAG_instrain_analysis.rmd Update MAG_instrain_analysis.rmd 2026-02-12 14:03:17 -05:00
README.md Update README.md 2026-03-19 22:02:16 -04:00
strain_diversification_inputs.tar.gz Add files via upload 2026-02-12 14:09:57 -05:00

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:

  1. unzip strain_diversification_inputs.tar.gz in the working directory with tar -xzvf strain_diversification_inputs.tar.gz.
  2. Open MAG_instrain_analysis.Rmd in RStudio (or another interactive IDE).
  3. 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