r2cluster(ctc)
r2cluster()所属R语言包:ctc
Write to Cluster file format
写聚类文件格式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converting data to Cluster format
聚类格式的数据转换
用法----------Usage----------
r2cluster(data,labels=FALSE,colname="ACC",description=FALSE,
file="cluster.txt",dec='.')
参数----------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 (ACC column in cluster file)
一个逻辑值,表明我们是否使用标签的第一列(聚类文件ACC列)
参数:colname
a character string indicating what kind of objects are in each row. YORF, MCLID, CLID, ACC can be used: see details.
一个字符串,指示什么样的对象是在每一行。 YORF,MCLID,发话号码,行政协调可以:查看详细信息。
参数:description
a logical value indicating whether we use the second column as description (NAME column for cluster file)
一个逻辑值,指示是否我们使用说明第二列(聚类文件名称列)
参数:dec
the character used in the file for decimal points
在文件中使用的字符,小数点
Details
详情----------Details----------
Software Cluster, made by M. Eisen needs formatted input data like:
软件产业聚类,研究艾森需要格式化的输入数据,如:
YORF http://genome-www.stanford.edu/cgi-bin/dbrun/SacchDB?find+Locus+%22UNIQID%22
22UNIQID YORF http://genome-www.stanford.edu/cgi-bin/dbrun/SacchDB?find+Locus+%22%
MCLID http://genome.rtc.riken.go.jp/cgi-bin/getseq?g+R+UNIQID
MCLID http://genome.rtc.riken.go.jp/cgi-bin/getseq?g+R+UNIQID
CLID http://genome-www4.stanford.edu/cgi-bin/SMD/source/sourceRes\-ult?op\-tion=CloneID&criteria1=IMAGE:UNIQID&choice=cDNA
发话号码
ACC http://genome-www4.stanford.edu/cgi-bin/SMD/source/sourceRes\-ult?op\-tion=Number&criteria=UNIQID&choice=cDNA
行政协调会
Line begining with EWEIGHT gives weights for each column (variable). Column GWEIGHT gives weights for each line (individuals).
行begining与EWEIGHT给每个列(变量)的重量。列GWEIGHT给每一行(个人)的重量。
注意----------Note----------
Cluster is a program made by M. Eisen that performs hierarchical clustering, K-means and SOM.
聚类是由M.艾森提出了方案,进行分层聚类,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://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, r2xcluster, hclust
xcluster,r2xcluster,hclust
举例----------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[只是一个数字]
r2cluster(m)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|