miaSim

Microbiome data simulation with miaSim

  • R/Bioconductor package for simulating microbial community dynamics
  • Common ecological models
  • miaSimShiny: Graphical user interface

Implemented models

  • Self-organised instability (SOI)
  • Hubbell’s neutral model
  • Generalized Lotka–Volterra (gLV)
  • Ricker model (discrete gLV)
  • Stochastic logistic model
  • Consumer–resource model

Stochastic logistic model

\[ \frac{dN}{dt} = r N \left(1 - \frac{N}{K}\right) + \sigma N \, \eta(t) \]

  • \(N\): population size
  • \(r\): intrinsic growth rate
  • \(K\): carrying capacity
  • \(\sigma\): noise strength
  • \(\eta(t)\): random fluctuation (white noise)

Logistic growth (deterministic)

\[ \frac{dN}{dt} = rN\!\left(1 - \frac{N}{K}\right) \]

  • \(N\): population size
  • \(r\): intrinsic growth rate
  • \(K\): carrying capacity

Line chart of deterministic logistic growth: population size rises in an S-shaped curve from 10 and levels off at the carrying capacity of 100 around time 15.

Add randomness → Stochastic logistic model

\[ \frac{dN}{dt} = rN\!\left(1 - \frac{N}{K}\right) + \sigma N\,\eta(t) \]

  • \(\sigma\): noise strength
  • \(\eta(t)\): random fluctuation (white noise)

Line chart of simulated stochastic logistic growth: population size rises from 10 and then fluctuates irregularly at around 100 to 130.

Stochastic logistic model

  • Single-species microbial dynamics under resource limits
  • Effects of random perturbations (e.g., host variability)
  • Benchmark for statistical methods before multi-species models

Learn more

QR code linking to the miaSim package vignette.

miaSim package vignette (tutorials, examples, and model descriptions)

QR code linking to the miaSim publication in Methods in Ecology and Evolution.

(Gao et al. 2023) (publication)

References

Gao, Yu, Yağmur Şimşek, Emma Gheysen, et al. 2023. “miaSim: An R/Bioconductor Package to Easily Simulate Microbial Community Dynamics.” Methods in Ecology and Evolution 14 (8): 1967–80. https://doi.org/10.1111/2041-210x.14129.