sim.bd.taxa.age(TreeSim)
sim.bd.taxa.age()所属R语言包:TreeSim
sim.bd.taxa.age: Simulating birth-death trees with a given age on a fixed number of extant taxa
sim.bd.taxa.age:模拟现存类群固定数量的一个特定的年龄与出生,死亡树木
译者:生物统计家园网 机器人LoveR
描述----------Description----------
sim.bd.taxa.age simulates trees on n species with a (i) fixed time since origin or (ii) fixed time since the most recent common ancestor of the sampled species under the constant rate birth-death process. The method allows for incomplete sampling, i.e. each tip from a big tree is included with a fixed probability. The tree is conditioned to have n tips after sampling and a fixed time since origin or since the most recent common ancestor of the sampled species.
sim.bd.taxa.age模拟N种上树木(i)固定在恒定的速率生灭过程的采样物种的最近的共同祖先起源或(ii)固定的时间,因为时间以来。该方法允许不完整的采样,即每一个固定的概率从一棵大树的顶端。空调有n提示后取样和固定时间以来的采样物种的最近的共同祖先原籍国或自树。
用法----------Usage----------
sim.bd.taxa.age(n, numbsim, lambda, mu, frac = 1, age, mrca = FALSE)
参数----------Arguments----------
参数:n
Number of extant sampled leaves
现存的采样叶数
参数:numbsim
Number of trees to simulate
树木的数量模拟
参数:lambda
Speciation rate
形态率
参数:mu
Extinction rate
消光率
参数:frac
Each tip is included into the final tree with probability frac.
每头进入决赛的概率压裂树。
参数:age
The time since origin / most recent common ancestor
的时间,因为原产地/最近的共同祖先
参数:mrca
If mrca = FALSE: The time since the origin of the process. If mrca = TRUE: The time since the most recent common ancestor of the sampled species.
如果MRCA = FALSE:起源的过程后的时间。如果MRCA = TRUE:时间以来的采样物种的最近的共同祖先。
值----------Value----------
参数:treearray
Array of numbsim trees with n>1 leaves with a given age. The extinct lineages are not included.
当n> 1叶与一个特定的年龄numbsim树木的数组。不包括已绝迹的血统。
注意----------Note----------
The algorithm is fast for the critical process, lambda=mu.
该算法是快速的关键过程,λ=亩。
(作者)----------Author(s)----------
Tanja Stadler
参考文献----------References----------
参见----------See Also----------
sim.bd.age, sim.rateshift.taxa, sim.gsa.taxa, birthdeath.tree
sim.bd.age,sim.rateshift.taxa,sim.gsa.taxa,birthdeath.tree
实例----------Examples----------
n<-10
lambda <- 2.0
mu <- 0.5
frac <-0.6
numbsim<-2
age<-2
##[#]
# Simulating numbsim reconstructed trees with n sampled species under a[模拟numbsim重建有n个采样种下的树木]
# birth-death process with speciation rate lambda, extinction rate mu,[生灭过程与形态率λ,物种灭绝速度亩,]
# sampling probability frac, and time age since origin:[采样概率压裂,时间和年龄,因为原产地:]
sim.bd.taxa.age(n, numbsim, lambda, mu, frac, age, mrca = FALSE)
# Simulating numbsim reconstructed trees with n sampled species under a[模拟numbsim重建有n个采样种下的树木]
# birth-death process with speciation rate lambda, extinction rate mu,[生灭过程与形态率λ,物种灭绝速度亩,]
# sampling probability frac, and time age since the most recent [自最近一次,抽样概率压裂,时间和年龄]
# common ancestor of the extant sampled species:[现存的取样物种的共同祖先:]
sim.bd.taxa.age(n, numbsim, lambda, mu, frac, age, mrca = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|