Package: evolved 1.0.0

Matheus Januario

evolved: Open Software for Teaching Evolutionary Biology at Multiple Scales Through Virtual Inquiries

"Evolutionary Virtual Education" - 'evolved' - provides multiple tools to help educators (especially at the graduate level or in advanced undergraduate level courses) apply inquiry-based learning in general evolution classes. In particular, the tools provided include functions that simulate evolutionary processes (e.g., genetic drift, natural selection within a single locus) or concepts (e.g. Hardy-Weinberg equilibrium, phylogenetic distribution of traits). More than only simulating, the package also provides tools for students to analyze (e.g., measuring, testing, visualizing) datasets with characteristics that are common to many fields related to evolutionary biology. Importantly, the package is heavily oriented towards providing tools for inquiry-based learning - where students follow scientific practices to actively construct knowledge. For additional details, see package's vignettes.

Authors:Matheus Januario [aut, cph, cre], Jennifer Auler [aut], Andressa Viol [aut], Daniel Rabosky [aut]

evolved_1.0.0.tar.gz
evolved_1.0.0.zip(r-4.7-any)evolved_1.0.0.zip(r-4.6-any)evolved_1.0.0.zip(r-4.5-any)
evolved_1.0.0.tgz(r-4.6-any)evolved_1.0.0.tgz(r-4.5-any)
evolved_1.0.0.tar.gz(r-4.7-any)evolved_1.0.0.tar.gz(r-4.6-any)
evolved_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
evolved/json (API)

# Install 'evolved' in R:
install.packages('evolved', repos = c('https://mjanuario.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mjanuario/evolved/issues

Pkgdown/docs site:https://mjanuario.github.io

Datasets:

On CRAN:

Conda:

biodiversity-sciencecomparative-methodsdata-driven-educationevolutionary-biologyinquiry-based-learningmacroevolutionpaleobiologyphylogeneticspopulation-geneticsscience-educationsimulation-based-learning

7.43 score 13 stars 38 scripts 416 downloads 17 exports 38 dependencies

Last updated from:300aa21549. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE143
source / vignettesOK230
linux-releaseNOTE159
macos-releaseNOTE150
macos-oldrelNOTE219
windows-develNOTE117
windows-releaseNOTE94
windows-oldrelNOTE94
wasm-releaseOK140

Exports:calcFossilDivTTcheckAndFixUltrametriccountSeqDiffsestimateSpeciationfitCRBDis.ProteinSeqlttPlotNatSelSimOneGenHWSimplotNatSelplotPaintedWhalesplotProteinSeqplotRawFossilOccsplotWFDriftsimulateBirthDeathRichsimulateTreeWFDriftSim

Dependencies:apecliclusterGenerationcodacodetoolscombinatcpp11DEoptimdeSolvedigestdiversitreedoParallelexpmfastmatchforeachgenericsglueigraphiteratorslatticelifecyclemagrittrmapsMASSMatrixmnormtnlmenumDerivoptimParallelphangornphytoolspkgconfigquadprogRcpprlangscatterplot3dsubplexvctrs

Sampling alleles, genetic drift and effective population size
Learning objectives | Introduction | Genetic drift: qualitative expectation | Genetic drift: building intuition | Dissecting the variability in outcomes | Genetic drift and heterozygosity decay | Effective population size | Some food for thought: | Historical note | References:

Last update: 2025-12-17
Started: 2024-03-26

Introduction to R
Learning objectives | Introduction | R basics | R as a vector calculator | Objects in R | Appending elements | Indexing | Time for a pause and ponder | Matrices | Logical tests | Data frames | Functions | Installing and running packages | Scripts | File paths and directories | Getting help | Generation of random numbers | Plotting (and plot annotation) | Loops | Last remarks | References

Last update: 2025-12-17
Started: 2025-12-17

DNA sequence evolution
Learning objectives | Introduction | Exploring sequence data | A simple measure of genetic distance | The Poisson correction | Some food for thought: | Building a molecular clock | Molecular clocks and inferences about deep-time | The Jukes-Cantor correction | The uncertainty of your molecular clock | Brief introduction to intervals derived from log-likelihood | References

Last update: 2025-12-01
Started: 2024-03-26

If you never used R before...
What is R and how can I install it? | What is RStudio and how can I install it? | Starting R and RStudio: | Working Routine in R | Step 1: Setting work directory | Step 2: Checking working directory | Step 3: Saving files | Step 4: Compiling/knitting your RMarkdown | Step 5: Sourcing R scripts | Step 6: Loading external data | Step 7: Debbuging one specific strange behavior some students found | What is RMarkdown and how can I install it (optional)? | More on RMarkdown | RMarkdown advantages | An example of why RMarkdown is so neat: | RMarkdown practice (part I) | RMarkdown practice (part II)

Last update: 2025-11-28
Started: 2025-11-28

Birth-death models and molecular phylogenies
Learning objectives | Introduction | Simulating phylogenetic trees | What affects speciation and extinction? | Shifts in diversification rates | References:

Last update: 2024-11-28
Started: 2024-05-09

Clocks and Rocks
The fossil record: | Comparing molecular patterns

Last update: 2024-11-28
Started: 2023-12-24

Introduction to the fossil record
Learning objectives | Introduction | Exploring fossil occurrences | A brief introduction to temporal ranges | The K-Pg mass extinction | Something to think about: | The pull of the recent | Diversity patterns in deep time | The spatial distribution of the record | Drawing conclusions from the fossil record | Technical note: Dating fossils in absolute time | References:

Last update: 2024-11-28
Started: 2024-03-26

Allele frequency change and selection
Learning objectives | Introduction | Breeding effective population size | Mutation-drift equilibrium | Selection | The case of the peppered moths | References

Last update: 2024-11-28
Started: 2024-03-26

Birth-death models and deep time
Learning objectives | Introduction | The birth-death (BD) model | Glossary: | Deterministic expectations of the BD model | Estimation under the simplest BD | Effects of variation on the net diversification rate | The birth-death model is a stochastic process | Adding in extinction | Age-richness models and empirical richness through time | Some food for thought: | References:

Last update: 2024-05-17
Started: 2024-04-20

Phylogenies and diversification
Molecular phylogenies: | Diversification

Last update: 2024-05-17
Started: 2024-01-08

Introduction to evolutionary genetics
Learning objectives | Introduction | Simple math notation | Probability of independent events | Random number generators and density/mass probability functions | Malthusian growth | Calculating and visualizing exponential growth in R | Mendelian genetics and Hardy-Weinberg Equilibrium (HWE) at a single locus | Kermode bear from British Columbia | Calculating allele frequencies from genotypes | A statistical approach to test for HWE and a given allele frequency | Heterozygosity | HWE, deleterious alleles, and mutation | Mendelian genetics at multiple loci | Describing genetic variation in DNA segments | References:

Last update: 2024-05-17
Started: 2024-03-26

Tools for population genetics
Hardy-Weinberg equilibrium | Genetic drift | Natural selection | References:

Last update: 2024-03-26
Started: 2023-05-18

Readme and manuals

Help Manual

Help pageTopics
Occurrences of ammonoid fossilsammonoidea_fossil
Birds species listbirds_spp
Calculate paleo diversity curves through different methodscalcFossilDivTT
Find and fix small rounding errors in ultrametric treescheckAndFixUltrametric
Counting protein sequence differencescountSeqDiffs
Cytochrome Oxidase sequencescytOxidase
Whale body size and speciation ratesdata_whales
Occurrence of dinosaur fossilsdinos_fossil
Estimate speciation assuming a pure-birth processestimateSpeciation
Fit a constant-rate birth-death process to a phylogenyfitCRBD
Make a lineage through time (LTT) plotlttPlot
Occurrences of mammal fossilsmammals_fossil
Mammals species listmammals_spp
Simulating natural selection through time in a bi-allelic geneNatSelSim
Simulating one generation of genotypes under Hardy-Weinberg equilibriumOneGenHWSim
Plot NatSelSim outputplotNatSel
Plotting the whale phylogeny and coloring its cladesplotPaintedWhales
Plot protein sequence(s)plotProteinSeq
Plot a literal interpretation of a fossil recordplotRawFossilOccs
Plot WFDriftSim outputplotWFDrift
Details, generics, and methods for the 'ProteinSeq' classhead.ProteinSeq is.ProteinSeq print.ProteinSeq ProteinSeq summary.ProteinSeq tail.ProteinSeq
Simulating richness through birth-death processessimulateBirthDeathRich
Simulating a phylogenetic trees through the birth-death processsimulateTree
Fossil Time seriestimeseries_fossil
Occurrence of trilobite fossilstrilob_fossil
Simulating generations of genetic drift in a Wright–Fisher (WF) populationWFDriftSim
Whale Phylogenywhale_phylo