GithubHelp home page GithubHelp logo

mindthegap-erc / carbonatestratpalevo Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 236.25 MB

Code for "Identification of the Mode of Evolution in Incomplete Carbonate Successions"

License: Apache License 2.0

R 100.00%
aic biological-simulations biology earth-science evolution fossils geoscience geosciences sedimentology stratigraphy

carbonatestratpalevo's People

Contributors

emiliajarochowska avatar niklashohmann avatar therapto avatar

Watchers

 avatar  avatar  avatar

carbonatestratpalevo's Issues

renv problem on Mac: the Matrix package cannot be installed

renv::restore() tries to compile Matrix from sources, but crashes. Attached the log - as much as I could capture from the termninal. This follows the step where you agree to install missing packages. R 4.3.1
It is resolved by changing the version to 1.6-5 in renv.lock but I am yet to check if that breaks anything down because of other packages that won't load either

Rewrite results for scenario B & adjust figure.

Rewrite section "Carbonate Platform B" in results section after adjustment of sea level curve.

  • Redo figures 1 & 2 based on captions in manuscript. Raw figures are on GH under figs/matlab

Make figure S2

As figure 6, but for the tests that cover the time interval of scenario B

Make figure of time elapsed between successive samples

Make a figure with 2 rows (one for each scenario) and 5 rows (one for each distance from shore)
Each subfigure is a histogram of the time elapsed between successive samples taken in the stratigraphic domain. The y axis is number (dimensionless), the x axis is time difference (myr). Make sure the x axis limits are the same for each subplot and start at 0

Code references files in the data folder but it is empty

load("data/R_outputs/results_modes_of_evolution.Rdata")
load("data/R_outputs/ageDepthModelsScenariosAandB.Rdata")
load("data/R_outputs/parameters_for_tests.Rdata")

load("data/R_outputs/results_modes_of_evolution.Rdata")
load("data/R_outputs/ageDepthModelsScenariosAandB.Rdata")
load("data/R_outputs/parameters_for_tests.Rdata")

This cannot work because the data folder is empty

Adjust Figures

  1. Name figures according to their name in the manuscript _raw (e.g. Fig1_raw.pdf, FigS2_raw.pdf)
  2. Redo Figs. 4-7. Specifically 6 & 7 based on new data
  3. Adjust figure size to Journal requirements (https://bmcecolevol.biomedcentral.com/submission-guidelines/preparing-your-manuscript#preparing+figures)
  4. Reduce temporal resolution for plots of trait evo in time domain, (maybe 200 sampling points, distributed over the 2 / 2.56 Myr)
  5. Check if for stasis, figures become more clear with only one lineage. If yes, plot only one lineage for stasis
  6. Make axis labels smaller & titles larger
  7. Rearrange order of subfigures in Fig. 5 & similar figures (ADM & time domain 1st row, dist. from shore in 2nd & 3rd row) - Maybe there is a better/more aesthetic arrangement?
  8. Automate labeling of subfigures (A, B, C, ...)

Make supplementary figures

Preservation of stasis, Brownian motion, and weak & strong Brownian drift at different distances from shore in scenario A and B. See supplementary materials folder in onedrive for captions

Make plot of strat completeness & hiatus duration

Make a fists sketch of the figure with stratigraphic completeness and hiatus duration vs. basin position.
Make one plot for each scenario, name it scenarioX_strat_info.pdf
The plot should contain:

  • x axis: ranging from 0.1 to 15, distance from shore [km]
  • left y axis: stratigraphic completeness as percent
  • right y axis: hiatus duration in myr. Start with plotting median, max, and 1st and 3rd quartile of the hiatus distribution. Use a log scale if if necessary

Deposit raw data on OSF

When ms is in final stage

  • Deposit large data files on osf, specifically .mat, .Rdata files
  • Add code to automate data download

Beautify figure completeness_and_hiat_duration_raw.pdf

  • Reduce whitespace at the bottom
  • x axis labels consistent "Distance from shore [km]"
  • left y axis labels "Stratigraphic completeness [%]"
  • right y axis labels "Hiatus duration [Myr]"
  • Change header to "scenario X"
  • Make letter same size as header
  • cut off x axis at 13 km
  • Add legend to top left corner, listing
    • Completeness
    • maximum hiatus dur.
    • 1st quartile hiatus dur.
    • Median hiatus dur.
    • 3rd quartile hiatus dur.

Minor Adjustments Figures

  • Make capitalization consistent (Trait value -> Trait Value, Time domain -> Time Domain etc.)
  • Make axis labels consistent (e.g. in fig. 4 parts are "Stratigraphic Height [m]", others just "Height [m]")
  • Reduce font size of titles to avoid cut-off of titles (e.g. fig. 4 bottom right)
  • Shift letters indicating sub-plots a bit to the right to reduce ambiguity
  • fig 6 & related figures:
    • move km from ticks labels to axis labels
    • reduce line width on box plots
    • make y axis consistent from 0 to 1
    • move legend out of plot windows on the right
    • adjust capitalization of titles

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.