遇见数据集

Code

收藏
DataONE2016-01-19 更新2024-06-27 收录
数据链接:
官方服务:

资源简介:

code for simulation of gene tree within species tree with sampling. requirements: R packages "ape", "apTreeshape" SIMCOAL (SIMCOAL must be in your working directory) codes: simulation.R: an example code for simulations used in the manuscripts gene.tree.simulations.R: functions used to run SIMCOAL simulation, sample species and simulate species trees simcoal.functions.R: functions for running SIMCOAL from R sample.lineage.R: functions for sampling species from trees usage: "gene.tree.simulations.R", "simcoal.functions.R" and "sample.lineage.R" include functions used to run simulations. "simulation.R" is a code to call these functions and run a simulation. put the four R script files and SIMCOAL in a directory. Then set your working directory to it (setwd("...")). run codes in simulation.R by source("./simulation.R") or copy and paste the codes.

创建时间:
2016-01-19
二维码
社区交流群
二维码
科研交流群
商业服务