
lifesimulatoR is an educational R package for exploring origin-of-life concepts through simplified computational simulations.
๐งช Status: Educational research package in active development.
The package provides tools for studying molecular evolution, mutation, selection, diversity, protocell dynamics, autocatalytic networks, and emergent complexity in toy prebiotic systems. It is designed for students, instructors, science communicators, and researchers interested in computational approaches to abiogenesis and early evolution.
A theory-rich companion book is available online:
๐ Online Book: https://noushinn.github.io/lifesimulatoR-book/
๐ Book Repository: https://github.com/NoushinN/lifesimulatoR-book
The companion book provides:
The package and book are designed to be used together, with the book providing the theoretical context and the package providing hands-on computational exploration.
One of the most important open questions in science is:
How did life emerge from non-living matter?
Researchers have proposed many possible pathways, including:
lifesimulatoR provides simplified computational models that allow users to explore the mechanisms often discussed within these frameworks.
The package is intentionally hypothesis-neutral and is designed as a conceptual and educational tool rather than a chemically realistic reconstruction of abiogenesis.
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
remotes::install_github("NoushinN/lifesimulatoR")
library(lifesimulatoR)
sim <- simulate_abiogenesis(
n_molecules = 100,
generations = 100,
mutation_rate = 0.02,
selection_strength = 1,
seed = 123
)
head(sim)
plot_simulation(
sim,
x = "generation",
y = "mean_fitness"
)New users are encouraged to follow this progression:
The models implemented in lifesimulatoR are intentionally simplified and should be viewed as conceptual teaching and learning tools.
They are designed to help users explore mechanisms frequently discussed in origin-of-life research, including:
Simulation results should not be interpreted as evidence for specific historical pathways leading to life on Earth.
If you use lifesimulatoR in teaching, presentations, or publications, please cite the package using:
citation("lifesimulatoR")