Package: gen3sis 1.5.11

Oskar Hagen

gen3sis: General Engine for Eco-Evolutionary Simulations

Contains an engine for spatially-explicit eco-evolutionary mechanistic models with a modular implementation and several support functions. It allows exploring the consequences of ecological and macroevolutionary processes across realistic or theoretical spatio-temporal landscapes on biodiversity patterns as a general term. Reference: Oskar Hagen, Benjamin Flueck, Fabian Fopp, Juliano S. Cabral, Florian Hartig, Mikael Pontarp, Thiago F. Rangel, Loic Pellissier (2021) "gen3sis: A general engine for eco-evolutionary simulations of the processes that shape Earth's biodiversity" <doi:10.1371/journal.pbio.3001340>.

Authors:ETH Zürich [cph], Oskar Hagen [aut, cre], Benjamin Flück [aut], Fabian Fopp [aut], Juliano S. Cabral [aut], Florian Hartig [aut], Mikael Pontarp [aut], Charles Novaes de Santana [ctb], Thiago F. Rangel [aut], Theo Gaboriau [ctb], Loïc Pellissier [aut, ths]

gen3sis_1.5.11.tar.gz
gen3sis_1.5.11.zip(r-4.5)gen3sis_1.5.11.zip(r-4.4)gen3sis_1.5.11.zip(r-4.3)
gen3sis_1.5.11.tgz(r-4.4-x86_64)gen3sis_1.5.11.tgz(r-4.4-arm64)gen3sis_1.5.11.tgz(r-4.3-x86_64)gen3sis_1.5.11.tgz(r-4.3-arm64)
gen3sis_1.5.11.tar.gz(r-4.5-noble)gen3sis_1.5.11.tar.gz(r-4.4-noble)
gen3sis_1.5.11.tgz(r-4.4-emscripten)gen3sis_1.5.11.tgz(r-4.3-emscripten)
gen3sis.pdf |gen3sis.html
gen3sis/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/project-gen3sis/r-package/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

biodiversityecologyevolutionmechanisticmodelmodelingsimulation

34 exports 28 stars 2.95 score 19 dependencies 1 mentions 72 scripts 1.2k downloads

Last updated 10 months agofrom:281183c898. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-win-x86_64NOTESep 13 2024
R-4.5-linux-x86_64NOTESep 13 2024
R-4.4-win-x86_64OKSep 13 2024
R-4.4-mac-x86_64OKSep 13 2024
R-4.4-mac-aarch64OKSep 13 2024
R-4.3-win-x86_64OKSep 13 2024
R-4.3-mac-x86_64OKSep 13 2024
R-4.3-mac-aarch64OKSep 13 2024

Exports:apply_ecologyapply_evolutioncolor_richnesscolor_richness_non_CVDCBPcreate_ancestor_speciescreate_input_configcreate_input_landscapecreate_speciesevolution_mode_noneget_dispersal_valuesget_divergence_factorget_divergence_matrixget_geo_richnessplot_landscapeplot_landscape_overviewplot_rangesplot_raster_multipleplot_raster_singleplot_richnessplot_species_abundanceplot_species_presenceplot_summaryprepare_directoriesrun_simulationsave_abundancesave_divergencesave_landscapesave_occupancysave_phylogenysave_richnesssave_speciessave_traitsverify_configwrite_config_skeleton

Dependencies:BHclicpp11gdistanceglueigraphlatticelifecyclemagrittrMatrixpkgconfigrasterRcpprlangspstringistringrterravctrs

Introducing gen3sis

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-10-25
Started: 2020-04-01

Creating landscapes (gen3sis input)

Rendered fromcreate_input_landscape.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2020-12-19
Started: 2020-06-19

Creating configurations (gen3sis input)

Rendered fromcreate_config.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-10-11
Started: 2020-04-03

Example designing landscapes

Rendered fromdesign_landscape.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2020-12-15
Started: 2020-06-19

Readme and manuals

Help Manual

Help pageTopics
Allows the user to define the ecological consequences for species within each site, defining thus species survival and abundanceapply_ecology
Allows defining the function that changes the values of traits of a given species at each time-step and in each site. If no operations are provided, traits are not changingapply_evolution
Define gen3sis richness color scale which is colour-vision deficient and colour-blind people safe based on scientific colour maps by Fabio Cramericolor_richness
Define gen3sis richness color scale for non colour-vision deficient and colour-blind peoplecolor_richness_non_CVDCBP
Allows the user to populate the world at the beginning of a simulationcreate_ancestor_species
Creates either an empty configuration or a pre-filled configuration object from a config filecreate_input_config
create an landscape input from a named list of rasters or raster filescreate_input_landscape
Creates a new speciescreate_species
No evolution consideredevolution_mode_none
gen3sis: General Engine for Eco-Evolutionary Simulationsgen3sis
Allows the user to generate dispersal value(s) for a given species. The simulation request the user to return a vector of dispersal values with length specified by the num_draws parameterget_dispersal_values
Allows the user to define the rate at which geographic clusters accumulate differentiation with each other.get_divergence_factor
Returns the full divergence matrix for a given species (site x site).get_divergence_matrix
calculate the richness of a list of species over a given landscapeget_geo_richness
Plot the environment variable of a given landscapeplot_landscape
Plot the outline of a given landscape over timeplot_landscape_overview
Plot species ranges of the given list of species on a landscapeplot_ranges
Plot a set of values onto a given landscapeplot_raster_multiple
Plot a single set of values onto a given landscapeplot_raster_single
Plot the richness of the given list of species on a landscapeplot_richness
Plot a species' abundance on a given landscapeplot_species_abundance
Plot a species' presence on a given landscapeplot_species_presence
Plot simulation default summary objectplot_summary
Checks if the necessary directories exist, and otherwise creates themprepare_directories
Run a simulation in gen3sis and return a summary object possibly saving outputs and plots to the output folderrun_simulation
This function can be called within the observer function to save the species abundances.save_abundance
This function can be called within the observer function to save the compressed species divergence.save_divergence
This function can be called within the observer function to save the current landscape, can be called independently by the user and is called by other observer functions relying on the landscape to be present (e.g. save_species)save_landscape
This function can be called within the observer function to save the current occupancy patternsave_occupancy
This function can be called within the observer function to save the current phylogeny.save_phylogeny
This function can be called within the observer function to save the current richness patternsave_richness
This function can be called within the observer function to save the full species list.save_species
This function can be called within the observer function to save the species traits.save_traits
empty skeleton configskeleton_config
Verifies if all required config fields are providedverify_config
Writes out a config skeletonwrite_config_skeleton