Code Monkey home page Code Monkey logo

darwincat's Introduction

DarwinCAT

DOI

Description

A web application to experiment and visualize how evolution is distorted by the geological record, focusing on carbonate platforms.

Authors

Niklas Hohmann (Maintainer)
Utrecht University
email: n.h.hohmann [at] uu.nl
Web page: uu.nl/staff/NHohmann
ORCID: 0000-0003-1559-1838

Emilia Jarochowska
Utrecht University
email: e.b.jarochowska [at] uu.nl
Web page: www.uu.nl/staff/EBJarochowska
ORCID: 0000-0001-8937-9405

Peter Burgess
University of Liverpool
Email: pmb42 [at] liverpool.ac.uk
Web page: liverpool.ac.uk/environmental-sciences/staff/peter-burgess

License

Apache 2.0 License, see LICENSE file for license text.

Online Usage

The app is available online at stratigraphicpaleobiology.shinyapps.io/DarwinCAT
Online access works with a web browser and does not require any coding skills or installations.

Offline Usage

Running the app offline requires R version 3.3 or later, RStudio, and the R packages "renv", "shiny" and "png".

  1. Open the R project: Go to File -> Open Project, then navigate to the DarwinCAT folder and open the DarwinCAT Rproject file (file ending .Rproj). This will bootstrap the renv package.

  2. Run

    renv::restore()

    This will install all packages dependencies required to run the app.

  3. Now you can start the app by running the command

    shiny::runApp()

Further Work

Next steps in development of the App are (in no specific order):

  1. Branch off ProxyCAT, an app that focuses on preservation of proxy records
  2. Publish lesson plans for different skill/knowledge levels

Repository structure

  • LICENSE.md : Apache 2.0 license text
  • README.md : Readme file
  • app.R : Main app
  • renv.lock : lock file from R package renv
  • CITATION.cff : Citation format file
  • .zenodo.json : Metadata for zenodo
  • DarwinCAT.Rproj : Rproject file
  • .Rprofile : Rprofile file generated by renv
  • .gitignore : Untracked files
  • data : Folder for data
    • age_depth_models_for_shiny_app.Rdata : R workspace containing the age depth models generated by CarboCAT in Matlab
  • renv : Folder used by the R package renv
  • src : Folder for functions called by the app
    • getAgeDepthModel.R : returns age depth models based on user input
    • getEvolutionarySimulations.R : makes evolutionary simulation based on user inputs
    • global_variables.R : loads data & global variables into workspace
    • makeBasinTransectPlot.R : plot basin transect generated by CarboCAT
    • makeWheelerDiagram.R : plot Wheeler diagram generated by CarboCAT
    • makeTimeDomainPlot.R : plot trait simulations in time
    • makeAgeDepthModelPlot.R : plots age depth models
    • makeStratDomainPlot.R : plot evolutionary simulations in stratigraphic domain
    • transform_ts.R : transfroms time series from time to depth domain
    • prepare_download_trait_evo.R : prepares download of trait evol. data
    • prepare_download_strat_pal.R : prepares download of strat pal data
    • prepare_download_upload_data.R : prepares download in upload data tab
    • process_upload_data.R : preprocesses data uploaded by users
  • www : Folder with pictures used in the app

Citation

To cite the app, please use

The app uses datasets generated by CarboCAT, a forward model of carbonate sedimentation developed by Peter Burgess. If you use or cite the app, please cite CarboCAT:

  • Burgess, P.M., 2013, CarboCAT: A cellular automata model of heterogeneous carbonate strata: Computers & Geosciences, v. 53, p. 129โ€“140, doi: 10.1016/j.cageo.2011.08.026.

Funding information

Online access to the App is made possible by the IDUB programme of the University of Warsaw (Grant BOB-IDUB-622-18/2022).
Co-funded by the European Union (ERC, MindTheGap, StG project no 101041077). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. European Union and European Research Council logos

darwincat's People

Contributors

emiliajarochowska avatar j535d165 avatar niklashohmann avatar

Stargazers

 avatar

Watchers

 avatar  avatar

darwincat's Issues

Data Download or Download Data

@NiklasHohmann or @EmiliaJarochowska In the "Modes of Evolution" tab of the app you have "Data Download" while in the "Stratigraphic Paleobiology" tab of your app you have "Download Data". I would recommend sticking with one of the two, just to be consistent.

  • Decide on which option are you going to use?
  • Update R code
  • Check if the R Shiny application interface has been updated
  • Close issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.