figshare
Browse

Simulation data and code

dataset
posted on 2022-02-24, 20:26 authored by Charlotte de VriesCharlotte de Vries, E Yagmur ErtenE Yagmur Erten
- PF_simulation_data.zip
contains Simulation data to create figure 2 of de Vries, Erten and Kokko
- Code_PF.zip contains C++ code to create the data
used to create figure 2 (see PF_simulation_data.zip for
the datafiles produced), and it also contains the R script
to create figure 2 from the data (Figure2_cloud_25.R).
All code files were created by Pen, I., & Flatt, T. (2021). Asymmetry, division of labour and the evolution of ageing in multicellular organisms. Philosophical Transactions of the Royal Society B, 376(1823), 20190729. C++ code is slightly adjusted to change output.

Note that the R script takes a long time to run
(multiple days on our laptops), and uses a lot of swap
memory, we advice running it on a server. Alternatively,
you can edit the code to use less than the last 25 days by
changing this line: ddead<- ddead %>% filter(t>4975)
to for example
ddead<- ddead %>% filter(t>4998)
to use the last 2 time steps only. However, note that there
will be insufficient data at high ages to estimate
mortality rates.

Funding

SNF grant number 310030B_182836

SNF postdoc mobility grant

NIH grant U54 CA217376

History

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC