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

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

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

                                        Intra and inter-specific distances
                                         内和种间的距离

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

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

Separates a distance matrix into its inter- and intra-specific components.
分隔的距离矩阵间和种内的组件。


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


sppDist(distobj, sppVector)



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

参数:distobj
A distance matrix.  
距离矩阵。


参数:sppVector
The species vector (see sppVector).  
种矢量(见sppVector“)。


Details

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

This function can be used to produce histograms and other charts exploring the "barcode gap", such as in the examples below.
直方图和其他图表探索“条形码差距,如在下面的例子中,可以使用此功能。


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

A list with two elements:
有两个元素的列表:


参数:inter
A numeric vector containing ALL inter-specific pairwise distances.
一个数字向量间的所有特定的成对距离。


参数:intra
A numeric vector containing ALL intra-specific pairwise distances.
一个数值向量,包含所有内特定的成对距离。


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



Samuel Brown <s_d_j_brown@hotmail.com>




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

sppDistMatrix.
sppDistMatrix。


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


data(dolomedes)
doloDist <- dist.dna(dolomedes)
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)

doloSpDist <- sppDist(doloDist, doloSpp)

doloSpDist

#Histogram of the barcode gap[直方图的条码差距]
transGreen &lt;- rgb(0, 1, 0, 0.5) #Make a slightly transparent colour to see some overlap[做一个稍微透明的颜色,看到一些重叠]
hist(doloSpDist$inter, col="grey")
hist(doloSpDist$intra, col=transGreen, add=TRUE)

#Boxplot of the same[箱线图相同]
boxplot(doloSpDist)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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