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

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

[复制链接]
发表于 2012-2-25 16:07:51 | 显示全部楼层 |阅读模式
xcluster2r(ctc)
xcluster2r()所属R语言包:ctc

                                        Importing Xcluster/Cluster output
                                         进口Xcluster /输出聚类

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

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

Converting Xcluster/Cluster output (.gtr or .atr) to R hclust file
的转换Xcluster /聚类输出(GTR或。ATR)到R hclust文件


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


xcluster2r(file,distance="euclidean",labels=FALSE,fast=FALSE,clean=FALSE,
           dec='.')



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

参数:file
the path of a Xcluster/Cluster file (.gtr or .atr)
一个Xcluster /聚类文件的路径(。GTR。ATR)


参数:distance
The distance measure used with Xcluster/Cluster. This must be one of "euclidean", "pearson" or "notcenteredpearson". Any unambiguous substring can be given.
与Xcluster /聚类使用的距离度量。这必须是一个"euclidean","pearson"或"notcenteredpearson"。可以给出任何明确的子串。


参数:labels
a logical value indicating whether we use  labels values (in the .cdt file) or not.
一个逻辑值,指示是否使用标签值。CDT文件或不。


参数:fast
a logical value indicating whether we reorganize data like R (Fast=FALSE) or we let them like Xcluster/Cluster did  
一个逻辑值,表明我们是否重组数据如R(Fast=FALSE),或让他们像Xcluster /聚类做


参数:clean
a logical value indicating whether you want the true distances (clean=FALSE), or you want a clean dendrogram (see details below).
一个逻辑值,指明是否你想真正的距离(clean=FALSE),或者你想要一个干净的树状图(详见下文)。


参数:dec
the character used in the file for decimal points
在文件中使用的字符,小数点


Details

详情----------Details----------

See xcluster for more details.
详情请参阅xcluster。


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

An object of class hclust which describes the tree produced by the clustering process.
一个对象的的类hclust介绍聚类过程中所产生的树。


注意----------Note----------

Xcluster is a C program made by Gavin Sherlock that performs hierarchical clustering, K-means and SOM.
xcluster是一个C程序由Gavin福尔摩斯进行分层聚类,K-手段和SOM。

Xcluster is copyrighted.  To get or have information about Xcluster: http://genome-www.stanford.edu/~sherlock/cluster.html
xcluster的版权。为了获得或拥有的信息关于Xcluster:http://genome-www.stanford.edu/~福尔摩斯/ cluster.html的

Cluster is a program made by Michael Eisen that performs hierarchical clustering, K-means and SOM.
聚类是由迈克尔·艾森提出了方案,进行分层聚类,K-手段和SOM。

Cluster is copyrighted.  To get or have information about Cluster: http://rana.lbl.gov/EisenSoftware.htm
版权聚类。若要取得或有关聚类的信息:http://rana.lbl.gov/EisenSoftware.htm


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


Antoine Lucas, <a href="http://mulcyber.toulouse.inra.fr/projects/amap/">http://mulcyber.toulouse.inra.fr/projects/amap/</a>



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

for Huge Clustering, R News, 2006, vol 6, issue 5 pages 58-60.

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

xcluster, r2xcluster, hclust, hcluster
xcluster,r2xcluster,hclust,hcluster


举例----------Examples----------


#    Create data[创建数据]
set.seed(1)
m <- matrix(rep(1,3*24),ncol=3)  
m[9:16,3] &lt;- 3 ; m[17:24,] &lt;- 3    #create 3 groups[创建3组]
m &lt;- m+rnorm(24*3,0,0.5)           #add noise[添加噪声]
m &lt;- floor(10*m)/10                #just one digits[只是一个数字]

r2xcluster(m)


# And once you have Xcluster program:[一旦你有Xcluster方案:]
#[]
#system('Xcluster -f xcluster.txt -e 0 -p 0 -s 0 -l 0')[系统(“Xcluster-F xcluster.txt-E-P 0-0-L 0)]
#h &lt;- xcluster2r('xcluster.gtr')[H < -  xcluster2r(“xcluster.gtr)]
#plot(h,hang=-1)[积(H,挂起= -1)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 11:48 , Processed in 0.022617 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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