GithubHelp home page GithubHelp logo

dombennett / project-karenina Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8.62 MB

:snowflake::deciduous_tree: Testing the Tolstoyan nature of ED species

R 100.00%
evolutionary-distinctness mammals phylogeny fossil-data living-fossil r pipeline

project-karenina's Introduction

How Do Evolutionary Distinct Species Arise?

Are evolutionarily distinct species distinct for much the same reasons, or are each evolutionarily distinct species distinct in their own unique way? We answer this by modelling the evolutioanry distinctness of clades between two time points.

Aardvark (Orycteropus afer): An evolutionarily distinct mammal featured here to make the page more visually interesting.

Details

Study group: mammals

Data: phylogeny and fossil

OS: UNIX

Reproduce

Download repository and initial data files (0_data). Once directory structure is setup, pipeline can be re-run from terminal:

Rscript run.R &> log &

Process

  • Download fossil records
  • Add fossils stochastically to time-calibrated molecular phylogeny with a taxonomy constraint
  • Calculate evolutionary distinctness at different different epochs for all clades
  • Model change in evolutionary distinctness of clades between epochs

Stages

  • 1_pin: add fossils to molecular phylogeny
  • 2_slice: calculate evolutionary distinctness at different epochs
  • 3_wrngl: wrangle and merge data for modelling
  • 4_model: model results

Additional analysis

additional_analysis contains extra scripts for producing time slices using different simulated birth-death trees.

Dir Structure

0_data/
   mammalia.tre
stages/
   1_pin.R
   2_slice.R
   3_wrngl.R
   4_model.R
tools/
   pin_tools.R
   slice_tools.R
   wrngl_tools.R

Results from each stage will be saved in folders named after each stage.

Key Packages

Data Sources

Reference

Bennett DJ, Sutton MD, Turvey ST. 2019 How the past impacts the future: modelling the performance of evolutionarily distinct mammals through time. Phil. Trans. R. Soc. B 20190210. DOI

Author

D.J. Bennett

Notes

Project name originates from the first line of Tolstoy's "Anna Karenina": Happy families are all alike; every unhappy family is unhappy in its own way. Are evolutionarily distinct taxa each distinct in their own way?

project-karenina's People

Contributors

dombennett avatar

Watchers

 avatar  avatar

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.