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

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

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

                                        Write to Xcluster file format
                                         写Xcluster文件格式

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

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

Converting data to Xcluster format
数据转换Xcluster格式


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


r2xcluster(data,labels=FALSE,description=FALSE,file="xcluster.txt")



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

参数:file
the path of the file
该文件的路径


参数:data
a matrix (or data frame) which provides the data to put into the file  
矩阵(或数据框)提供的数据放到文件


参数:labels
a logical value indicating whether we use the frist column as labels (NAME column for xcluster file)
一个逻辑值,表明我们是否使用标签的第一列(xcluster文件名称列)


参数:description
a logical value indicating whether we use the second column as description (DESCRIPTION column for cluster file)
一个逻辑值,指示是否使用(聚类文件说明列)作为第二列描述


Details

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

Software Xcluster, made by G. Sherlock needs formatted input data like:
Xcluster软件,由G.福尔摩斯需要格式化的输入数据,如:


注意----------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的


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


Antoine Lucas, <a href="http://antoinelucas.free.fr/ctc">http://antoinelucas.free.fr/ctc</a>



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

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

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

xcluster, xcluster2r, hclust, hcluster
xcluster,xcluster2r,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方案:]

## Not run: [#无法运行:]
  system('Xcluster -f xcluster.txt -e 0 -p 0 -s 0 -l 0')
  h <- xcluster2r('xcluster.gtr')
  plot(h,hang=-1)
  
## End(Not run)[#结束(不运行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 13:55 , Processed in 0.023354 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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