找回密码
 注册
查看: 369|回复: 0

R语言 spider包 rosenberg()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:19:21 | 显示全部楼层 |阅读模式
rosenberg(spider)
rosenberg()所属R语言包:spider

                                        Rosenberg's probability of reciprocal monophyly
                                         Rosenberg的概率互惠单系

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function computes Rosenberg's probability of reciprocal monophyly for each dichotomous node of a phylogenetic tree.
此函数计算Rosenberg的概率互惠单系在每项两节点的系统发育树。


用法----------Usage----------


rosenberg(phy)



参数----------Arguments----------

参数:phy
A tree of class "phylo".
一棵树类的phylo。


Details

详细信息----------Details----------

Because ape plots node labels in a different manner to the method in which they are stored, when plotting the node labels made by rosenberg, make sure the node argument is given as shown in the examples below.
因为ape图节点时绘制节点由rosenberg的标签,标签的方法在它们存储在以不同的方式,确保node参数所示的下面的例子。


值----------Value----------

A numeric vector with names giving the node numbers of phy.
一个数字矢量的名字给节点的phy。


(作者)----------Author(s)----------



Samuel Brown <s_d_j_brown@hotmail.com>




参考文献----------References----------



参见----------See Also----------

nodelabels.
nodelabels。


实例----------Examples----------


data(anoteropsis)
anoTr <- nj(dist.dna(anoteropsis))
anoLab <- rosenberg(anoTr)
plot(anoTr)
nodelabels(round(anoLab,3), node=as.numeric(names(anoLab)))

data(dolomedes)
doloTr <- nj(dist.dna(dolomedes))
doloRose <- rosenberg(doloTr)
plot(doloTr)
nodelabels(round(doloRose, 3))

#Colour circles for nodes with a probability &lt; 0.005[色界节点的概率<0.005]
doloNodes <- doloRose < 0.005
doloLabs <- doloRose
doloLabs[doloNodes] <- "blue"
doloLabs[!doloNodes] <- "red"
plot(doloTr, cex=0.7)
nodelabels(pch=21, bg=doloLabs, node=as.numeric(names(doloLabs)), cex=2)
legend(x=0.015, y=16.13, legend=c("significant", "not significant"), pch=21,
    pt.bg=c("blue", "red"), bty="n", pt.cex=2)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-19 02:02 , Processed in 0.024067 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表