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] <- 3 ; m[17:24,] <- 3 #create 3 groups[创建3组]
m <- m+rnorm(24*3,0,0.5) #add noise[添加噪声]
m <- 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 <- xcluster2r('xcluster.gtr')[H < - xcluster2r(“xcluster.gtr)]
#plot(h,hang=-1)[积(H,挂起= -1)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|