遇见数据集

Simulation data and code

收藏
Figshare2022-02-24 更新2026-04-28 收录
官方服务:

资源简介:

- PF_simulation_data.zipcontains 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 bychanging this line: ddead% filter(t>4975)to for example ddead% filter(t>4998)to use the last 2 time steps only. However, note that therewill be insufficient data at high ages to estimate mortality rates.

PF_simulation_data.zip 包含用于复现de Vries、Erten与Kokko研究中图2的仿真数据;Code_PF.zip 内含用于生成该图2所需数据的C++代码(生成的数据文件可于PF_simulation_data.zip中获取),同时还附带用于基于该数据绘制图2的R脚本Figure2_cloud_25.R。 所有代码均由Pen, I.与Flatt, T. (2021) 创作,对应论文为《不对称性、劳动分工与多细胞生物衰老的演化(Asymmetry, division of labour and the evolution of ageing in multicellular organisms)》,发表于《英国皇家学会学报B辑(Philosophical Transactions of the Royal Society B)》376卷(1823期),文章编号为20190729。其中C++代码已做小幅调整以修改输出内容。 需注意,该R脚本运行耗时极长(在我们的笔记本电脑上需耗时数天),且会占用大量交换内存,我们建议在服务器上运行该脚本。此外,你也可以修改代码以缩短计算时长:将`ddead% filter(t>4975)`一行修改为例如`ddead% filter(t>4998)`,仅使用最后2个时间步。但需注意,此时高龄阶段的数据将不足以支撑死亡率估算。

创建时间:
2022-02-24
二维码
社区交流群
二维码
科研交流群
商业服务