Skip to content

Commit

Permalink
version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkocsis committed Jan 21, 2019
1 parent fbea252 commit df994ce
Show file tree
Hide file tree
Showing 36 changed files with 10,712 additions and 10,663 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@

Ádám T. Kocsis, John Alroy, Carl J. Reddin and Wolfgang Kiessling

version 0.4
version 0.3

*07. 01. 2019.*
*20. 09. 2018., initial commit date: 2018-08-29*

## About

This repository contains all data and additional functions used in the Phanerozoic-scale examples and vignette for the paper describing the 'divDyn' R package. You can access the most recently updated report at

https://github.com/divDyn/ddPhanero/blob/master/doc/dd_phanero.pdf
https://github.com/adamkocsis/ddPhanero/blob/master/doc/dd_phanero.pdf


This is not the development repository of the divDyn package. You can find that at

http://github.com/divDyn/r_package
http://github.com/adamkocsis/divDyn


## Structure

The repository is organized in the following way:

* ``doc``: The main document
* ``doc``: The main document in version-specific folders
- *dd_phanero.pdf*: The report .pdf file.
- *dd_phanero.Rmd*: The source rmarkdown file.

* ``data``: All relevant data objects in binary .RData format.
* ``PaleoDB``: Downloaded data from the Paleobiology Database (http://paleobiodb.org) with their metadata.
* ``Stratigraphy``: Additional data that can be used to assign occurrences to stratigraphic stages.
* ``Stratigraphy``: Additional data that can be used to assign occurrences to stratigraphic stages, in version-specific folders.

* ``export``: Tables and figures directly output by the scripts presented in ``scripts``.
- *first.pdf*, *onetrial.pdf*, *many.pdf*: Curves of richness.
Expand All @@ -39,9 +39,9 @@ The repository is organized in the following way:
- *subs.ai*, *rates.pdf*, *subs.png*: Figure 1. The Adobe Illustrator file uses *first.pdf*, *onetrial.pdf*, *many.pdf* with links.
- *rates.ai*, *rates.pdf*, *rates.png*: Figure 2. *sumRates.pdf* with panel labels. The Adobe Illustrator file uses *sumRates.pdf* with a link.
- *conditionalTable.xlsx*: Table 2. MS Excel table that uses *pBin.csv* and *pStage.csv* to conditionally format *valBin.csv* and *valStage.csv*.
* ``scripts`` contains all R scripts that are used in the analysis in version-specific folders. In these:
* ``scripts`` contains all R scripts that are used in the analysis in version-specific folders.In these:
- *yyyy-mm-dd_marineAnimals_ddPhanero.R*: Analysis script, more-or-less the same as the code presented in the same version .pdf file in the ``doc`` folder.
- *phanDyn.R*: Functions used in the analyses.
* ``strat``: Folder of stratigraphy-correction scripts.
* ``strat``: Version-specific folders of stratigraphy-correction scripts.
- *cambProcess.R*: for the Cambrian period.
- *ordProcess.R*: for the Ordovician period.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"License URL","http://creativecommons.org/licenses/by/4.0/"
"Documentation URL","http://paleobiodb.org/data1.2/occs/list_doc.html"
"Data URL","http://paleobiodb.org/data1.2/occs/list.csv?datainfo&rowcount&interval=Ediacaran,Holocene&show=class,classext,genus,subgenus,abund,coll,coords,loc,paleoloc,strat,stratext,lith,env,ref,crmod,timebins,timecompare"
"Access Time","Thu 2019-01-03 22:56:39 GMT"
"Access Time","Fri 2018-09-14 17:07:56 GMT"
"Title","PBDB Data Service"
"Parameters:"
"","interval","Ediacaran,Holocene"
"","timerule","major"
"","taxon_status","all"
"","show","class,classext,genus,subgenus,abund,coll,coords,loc,paleoloc,strat,stratext,lith,env,ref,crmod,timebins,timecompare"
"Elapsed Time","139"
"Records Found","1382625"
"Records Returned","1382625"
"Elapsed Time","144"
"Records Found","1369299"
"Records Returned","1369299"
153 changes: 66 additions & 87 deletions doc/dd_phanero.Rmd → doc/0.3/dd_phanero.Rmd

Large diffs are not rendered by default.

Binary file added doc/0.3/dd_phanero.pdf
Binary file not shown.
Binary file added doc/dd_phanero.pdf
Binary file not shown.
5,369 changes: 5,369 additions & 0 deletions export/0.3/combined/Subs.ai

Large diffs are not rendered by default.

Binary file added export/0.3/combined/Subs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added export/0.3/combined/conditionalTable.xlsx
Binary file not shown.
5,155 changes: 5,155 additions & 0 deletions export/0.3/combined/rates.ai

Large diffs are not rendered by default.

Binary file added export/0.3/combined/rates.pdf
Binary file not shown.
Binary file added export/0.3/combined/rates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added export/0.3/detrending.PDF
Binary file not shown.
Binary file renamed export/first.pdf → export/0.3/first.pdf
Binary file not shown.
Binary file added export/0.3/many.pdf
Binary file not shown.
Binary file renamed export/onetrial.pdf → export/0.3/onetrial.pdf
Binary file not shown.
19 changes: 19 additions & 0 deletions export/0.3/pBin.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"rawPC_10my";"rawC3t_10my";"rawGF_10my";"raw2f3_10my";"crPC_10my";"crC3t_10my";"crGF_10my";"cr2f3_10my";"sqsPC_10my";"sqsC3t_10my";"sqsGF_10my";"sqs2f3_10my"
"ext. rates with durations";0.671020727502729;0.804890664081621;0.670174023101584;0.998539156650515;0.6799684982922;0.279202562662265;0.674892656637898;0.383179946215972;0.991560801925195;0.532207851200587;0.516209320908066;0.975461560146859
"norm. ext. rates with durations";0.000474052264563212;0.00202632012973968;0.0181336337914141;0.0407613740577463;5.51891993256103e-05;2.88199910816503e-05;7.36402813161021e-05;6.44558419756351e-05;0.000921861900521508;0.00135881769372562;0.026910129925689;0.0188425247592015
"orig. rates with durations";0.099218608708863;0.165058048440864;0.0258582218193207;0.110128664134978;0.128958332423617;0.469162638803621;0.217970826712237;0.506463983199903;0.0715459598613026;0.253494506279129;0.0807946859531938;0.242449538107183
"norm. orig. rates with durations";0.0106843141255267;0.00372019209057787;0.182062042291083;0.207372371894933;0.0145593818401545;0.00714356888858116;0.0991312324614641;0.0671318938843922;0.061825846169726;0.016743834937069;0.428349871851619;0.364712007363298
"extinctions";0.000136323814942707;3.76773670449435e-05;1.21304250880251e-05;0.000384664161217566;0.000124441066018735;1.17818846945986e-05;8.90777105937445e-06;6.49587690048993e-05;0.000113012813796772;1.12667317674005e-05;2.08606183903066e-06;4.19860958690103e-05
"post-Ordovician extinctions";0.063044228258951;0.0191238592365677;0.00913838625146529;0.139407283948413;0.0813427133328268;0.00466816428393277;0.00637715676594456;0.0305885415527428;0.0842665058681548;0.0110516866699248;0.00620715462553612;0.063044228258951
"originations";0.000545925314218481;0.00225086348752841;0.000540008327148737;0.0628215831529318;0.000123360167481787;0.00402606240712991;0.000347860528207798;0.00509872300226698;0.000243848893349467;0.0031650427541403;0.000218166200295564;0.0503157398012372
"post-Ordovician originations";0.152940711682364;0.146057917665939;0.18643373240597;0.168667514495155;0.0662489519895501;0.0981753934955922;0.0620685729517362;0.0599646490458553;0.113484081916663;0.204539297605402;0.119509956631291;0.115992424397723
"end-Permian ME";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"end-Triassic ME";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"end-Cretaceous ME";0.002;0.002;0.002;0.002;0.02;0.002;0.002;0.002;0.02;0.002;0.02;0.02
"end-Permian is highest";0.002;0.02;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"number of mass extinctions";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"extinctions log-normal (p-values)";0.138963411274641;0.383893382657542;0.0526957190379375;0.684402225160847;0.0826916374992539;0.0437626838512818;0.0831121376239219;0.0853149801953846;0.515754062088475;0.185423517849501;0.438357206664433;0.390516190620763
"originations log-normal (p-values)";0.23428799477651;0.550522827898017;0.829479094106137;0.0010315891681373;0.825163875318077;0.915124508912446;0.98729074657056;0.29598414301083;0.77031667361134;0.926454334480416;0.00986812929810246;0.00772495277569034
"origination and lagged diversity";0.0669875417396028;0.388296810472357;0.335678097572318;0.070458680069189;0.0263649737790779;0.165038841587165;0.112796741782659;0.0417435216951109;0.00311758442756282;0.0628421003057549;0.0462183442099222;0.025971388177009
"diversity and lagged extinction";0.00321955914741646;0.0646400128717608;0.117208035019426;0.111017678910409;0.0243716563421752;0.295332584434277;0.119328860192211;0.155393401985018;0.0017464455502449;0.212447420765488;0.101968846074691;0.0915257018389602
"diversity and lagged origination";0.810679064704634;0.000237530910175751;0.0813390071199469;0.533321254919819;0.460668269064261;2.74546552007958e-06;0.00155338764253769;0.0062477789399381;0.324741526122754;0.000310184507753394;0.230474161361461;0.819117187500797
19 changes: 19 additions & 0 deletions export/0.3/pStage.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"rawPC_stages";"rawC3t_stages";"rawGF_stages";"raw2f3_stages";"crPC_stages";"crC3t_stages";"crGF_stages";"cr2f3_stages";"sqsPC_stages";"sqsC3t_stages";"sqsGF_stages";"sqs2f3_stages"
"ext. rates with durations";0.0283502433754463;0.175111235608739;0.0363783409890655;0.00683730870044147;0.426252917952235;0.187394085892941;0.144206433740195;0.0386466469248614;0.22883614432232;0.149082649293205;0.0510266011194619;0.00912013835063929
"norm. ext. rates with durations";6.76762535861976e-06;0.00080712161548602;0.00101762756022466;0.105886764082838;1.17877305055671e-11;8.01539668957905e-08;2.16023647551047e-09;3.32179112898423e-05;4.37089294636815e-08;3.70119367953375e-07;6.56604669052438e-06;0.00745669721097012
"orig. rates with durations";0.000829801119699983;0.0698584517159457;0.00233440999240981;0.00140235464091334;0.0963839272641029;0.137682633151111;0.136895812118891;0.211609040810145;0.0238770594992118;0.0852989198336472;0.0204237948807255;0.0327540914613521
"norm. orig. rates with durations";1.43951884779036e-07;3.32443123866359e-07;0.000100653087383052;0.00300851456321373;1.45152976718362e-12;2.87922342452362e-09;1.66574246232329e-08;2.35310535242062e-07;1.13825925592159e-09;4.82160034450241e-07;6.17830786566869e-05;0.000127508606298526
"extinctions";4.79410854995813e-07;0.000223450639431031;0.000234376749603251;0.000803715436631762;4.52702526075162e-09;5.56144774124791e-05;1.30736838142518e-05;1.27957520684452e-05;4.99924747803799e-09;0.000165090582701558;0.000210536907875193;0.000455120881910957
"post-Ordovician extinctions";0.0564208539013529;0.258641870674504;0.243182750927505;0.202354977458512;0.024841989970466;0.35110300956023;0.38683401196607;0.283739475013017;0.0166912725601834;0.392134404394718;0.452341243745727;0.377662363230356
"originations";2.43508681772615e-05;0.000736066955354176;0.000290586625591102;0.00088004209752613;8.83929224897089e-09;0.000265719181437443;5.54725704398258e-05;4.94678544412534e-05;4.85349441544622e-07;0.000926851255988945;0.000232939702560699;0.000319038784374459
"post-Ordovician originations";0.622128246187955;0.681412349574042;0.662641930915526;0.826154319060515;0.048369399017689;0.598007006926567;0.531226004593812;0.43043424578779;0.219957362803634;0.873355143941311;0.817683558626466;0.609071977613849
"end-Permian ME";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"end-Triassic ME";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"end-Cretaceous ME";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"end-Permian is highest";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"number of mass extinctions";0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002;0.002
"extinctions log-normal (p-values)";0.665007630156689;0.170507928916119;0.012007273894476;0.00311446382353293;0.0952935871390386;0.14350350785524;0.000109084818166469;0.0888385967877194;0.840145462616316;0.0556898801201456;0.00145068394038172;0.0034874089170866
"originations log-normal (p-values)";0.538441925232565;0.0469519242693573;3.58807698314354e-05;0.356582803616727;0.945870681438959;0.701861007445951;0.000875848540814814;0.000467521279774831;0.546870190309462;0.381606951615252;0.000657657780849498;0.0185899910815972
"origination and lagged diversity";0.000713196352371938;0.0107832293463594;0.0726481376050973;0.0954768006370536;0.00312973940437961;0.140843934140852;0.243142833339335;0.641919189706011;2.33821975513205e-06;0.00308625752746471;0.0033525824660895;0.0150843848529056
"diversity and lagged extinction";2.3129532692443e-08;0.00030739808241843;0.000618392886848241;0.00280213302450708;7.6581559517566e-05;0.31882539761567;0.0858253412720281;0.255867228112109;1.15192547307297e-08;0.0454233571157274;0.00145323450379602;0.00913037521804354
"diversity and lagged origination";0.959549341510236;0.247992008289109;0.136889992838548;0.85046110253033;0.227519430640687;4.97915159975364e-05;4.76238007606656e-05;0.0010629510209621;0.932166970430456;0.182145363911819;0.268820034330393;0.426328862058275
Binary file added export/0.3/sumRates.pdf
Binary file not shown.
19 changes: 19 additions & 0 deletions export/0.3/valBin.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"rawPC_10my";"rawC3t_10my";"rawGF_10my";"raw2f3_10my";"crPC_10my";"crC3t_10my";"crGF_10my";"cr2f3_10my";"sqsPC_10my";"sqsC3t_10my";"sqsGF_10my";"sqs2f3_10my"
"ext. rates with durations";"-0.06";"-0.04";"0.06";"0";"-0.06";"-0.16";"-0.06";"-0.13";"0";"-0.09";"0.1";"0"
"norm. ext. rates with durations";"-0.49";"-0.44";"-0.34";"-0.3";"-0.56";"-0.58";"-0.55";"-0.55";"-0.47";"-0.46";"-0.32";"-0.34"
"orig. rates with durations";"0.25";"0.21";"0.32";"0.23";"0.23";"0.11";"0.19";"0.1";"0.27";"0.17";"0.26";"0.17"
"norm. orig. rates with durations";"-0.37";"-0.42";"-0.2";"-0.19";"-0.36";"-0.4";"-0.25";"-0.27";"-0.28";"-0.35";"-0.12";"-0.13"
"extinctions";"0.55";"0.58";"0.61";"0.51";"0.55";"0.61";"0.62";"0.57";"0.55";"0.61";"0.65";"0.57"
"post-Ordovician extinctions";"0.3";"0.38";"0.42";"0.24";"0.29";"0.45";"0.44";"0.35";"0.28";"0.41";"0.44";"0.3"
"originations";"0.5";"0.45";"0.5";"0.27";"0.55";"0.43";"0.52";"0.41";"0.53";"0.43";"0.53";"0.29"
"post-Ordovician originations";"0.24";"0.24";"0.22";"0.23";"0.3";"0.27";"0.31";"0.31";"0.26";"0.21";"0.26";"0.26"
"end-Permian ME";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"end-Triassic ME";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"end-Cretaceous ME";"yes";"yes";"yes";"yes";"no";"yes";"yes";"yes";"no";"yes";"no";"no"
"end-Permian is highest";"yes";"no";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"number of mass extinctions";"5";"3";"4";"3";"2";"4";"3";"3";"2";"3";"2";"3"
"extinctions log-normal (p-values)";"0.139";"0.384";"0.053";"0.684";"0.083";"0.044";"0.083";"0.085";"0.516";"0.185";"0.438";"0.391"
"originations log-normal (p-values)";"0.234";"0.551";"0.829";"0.001";"0.825";"0.915";"0.987";"0.296";"0.77";"0.926";"0.01";"0.008"
"origination and lagged diversity";"0.29";"0.14";"0.15";"0.29";"0.35";"0.22";"0.25";"0.32";"0.45";"0.29";"0.31";"0.35"
"diversity and lagged extinction";"0.45";"0.29";"0.25";"0.25";"0.35";"0.17";"0.25";"0.23";"0.48";"0.2";"0.26";"0.27"
"diversity and lagged origination";"-0.04";"0.55";"0.28";"0.1";"0.12";"0.67";"0.48";"0.42";"-0.16";"0.54";"0.19";"0.04"
19 changes: 19 additions & 0 deletions export/0.3/valStage.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"rawPC_stages";"rawC3t_stages";"rawGF_stages";"raw2f3_stages";"crPC_stages";"crC3t_stages";"crGF_stages";"cr2f3_stages";"sqsPC_stages";"sqsC3t_stages";"sqsGF_stages";"sqs2f3_stages"
"ext. rates with durations";"0.23";"0.15";"0.22";"0.28";"0.08";"0.14";"0.16";"0.22";"0.13";"0.15";"0.21";"0.27"
"norm. ext. rates with durations";"-0.45";"-0.35";"-0.34";"-0.17";"-0.64";"-0.53";"-0.58";"-0.42";"-0.54";"-0.51";"-0.46";"-0.28"
"orig. rates with durations";"0.35";"0.19";"0.32";"0.33";"0.18";"0.16";"0.16";"0.13";"0.24";"0.18";"0.24";"0.23"
"norm. orig. rates with durations";"-0.52";"-0.51";"-0.4";"-0.31";"-0.66";"-0.58";"-0.55";"-0.51";"-0.59";"-0.5";"-0.41";"-0.39"
"extinctions";"0.52";"0.39";"0.39";"0.36";"0.59";"0.43";"0.46";"0.46";"0.59";"0.4";"0.39";"0.37"
"post-Ordovician extinctions";"0.23";"0.14";"0.14";"0.16";"0.27";"0.11";"0.11";"0.13";"0.29";"0.1";"0.09";"0.11"
"originations";"0.44";"0.36";"0.39";"0.35";"0.58";"0.39";"0.43";"0.43";"0.52";"0.36";"0.39";"0.38"
"post-Ordovician originations";"0.06";"0.05";"0.05";"0.03";"0.24";"0.06";"0.08";"0.1";"0.15";"0.02";"0.03";"0.06"
"end-Permian ME";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"end-Triassic ME";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"end-Cretaceous ME";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"end-Permian is highest";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes";"yes"
"number of mass extinctions";"4";"3";"5";"4";"3";"3";"3";"4";"3";"3";"6";"3"
"extinctions log-normal (p-values)";"0.665";"0.171";"0.012";"0.003";"0.095";"0.144";"<0.001";"0.089";"0.84";"0.056";"0.001";"0.003"
"originations log-normal (p-values)";"0.538";"0.047";"<0.001";"0.357";"0.946";"0.702";"0.001";"<0.001";"0.547";"0.382";"0.001";"0.019"
"origination and lagged diversity";"0.39";"0.3";"0.21";"0.2";"0.34";"0.17";"0.14";"0.05";"0.52";"0.34";"0.34";"0.28"
"diversity and lagged extinction";"0.6";"0.41";"0.39";"0.34";"0.45";"0.12";"0.2";"0.13";"0.61";"0.23";"0.37";"0.3"
"diversity and lagged origination";"0.01";"0.14";"0.17";"-0.02";"0.14";"0.46";"0.46";"0.38";"0.01";"0.16";"0.13";"-0.09"
5,182 changes: 0 additions & 5,182 deletions export/combined/Subs.ai

This file was deleted.

Binary file removed export/combined/Subs.pdf
Binary file not shown.
Binary file removed export/combined/conditionalTable.xlsx
Binary file not shown.
5,237 changes: 0 additions & 5,237 deletions export/combined/rates.ai

This file was deleted.

Binary file removed export/combined/rates.pdf
Binary file not shown.
Binary file removed export/combined/~$conditionalTable.xlsx
Binary file not shown.
Binary file removed export/detrending.PDF
Binary file not shown.
Binary file removed export/many.pdf
Binary file not shown.
19 changes: 0 additions & 19 deletions export/pBin.csv

This file was deleted.

Loading

0 comments on commit df994ce

Please sign in to comment.