cluster.sizestat(ChemmineR)
cluster.sizestat()所属R语言包:ChemmineR
generate statistics on sizes of clusters
簇的大小生成的统计信息
译者:生物统计家园网 机器人LoveR
描述----------Description----------
'cluster.sizestat' is used to do simple statistics on sizes of clusters generated by 'cmp.cluster'. It will return a dataframe which maps a cluster size to the number of clusters with that size. It is often used along with 'cluster.visualize'.
“cluster.sizestat”是用来做简单的统计数据上的由“cmp.cluster生成的簇的大小。它将返回dataframe的映射簇大小聚类,大小。它经常被用来沿cluster.visualize“。
用法----------Usage----------
cluster.sizestat(cls, cluster.result=1)
参数----------Arguments----------
参数:cls
The clustering result returned by 'cmp.cluster'
聚类结果cmp.cluster返回
参数:cluster.result
If multiple cutoff values are used in clustering process, this argument tells which cutoff value is to be considered here.
如果在聚类过程中使用多个临界值,这个参数告诉这里是要考虑的临界值。
Details
详情----------Details----------
'cluster.sizestat' depends on the format that is returned by 'cmp.cluster' - it will treat the first column as the indecies, and the second column as the cluster sizes of effective clustering. Because of this, when multiple cutoffs are used when 'cmp.cluster' is called, 'cluster.sizestat' will only consider the clustering result of the first cutoff. If you want to work on an alternative cutoff, you have to manually reorder/remove columns.
“cluster.sizestat,由”cmp.cluster返回的格式取决于 - 它会对待作为indecies的的的第一列,第二列和有效的聚类簇大小。由于这个原因,多个临界值时,被称为“cmp.cluster时使用,cluster.sizestat将只考虑第一截止聚类结果。如果你想替代截止工作,你必须手动重新排列/删除列。
值----------Value----------
Returns a data frame of two columns.
返回一个两列的数据框。
参数:cluster size
This column lists cluster sizes
此栏列出的簇大小
参数:count
This column lists number of clusters of a cluster size
此列列出了数簇的簇大小
作者(S)----------Author(s)----------
Y. Eddie Cao
参见----------See Also----------
cmp.cluster, cluster.visualize
cmp.cluster,cluster.visualize
举例----------Examples----------
## Load sample SD file[#负载样品的SD文件]
# data(sdfsample); sdfset <- sdfsample[数据(sdfsample); sdfset < - sdfsample]
## Generate atom pair descriptor database for searching[#生成原子对数据库搜索描述]
# apset <- sdf2ap(sdfset) [< - sdf2ap apset(sdfset)]
## Loads same atom pair sample data set provided by library[#加载相同的原子对样本数据集,由图书馆提供]
data(apset)
## Binning clustering using variable similarity cutoffs.[#分级聚类使用变量相似截断。]
cluster <- cmp.cluster(db=apset, cutoff = c(0.65, 0.5))
## Statistics on sizes of clusters[簇的大小#统计]
cluster.sizestat(cluster[,c(1,2,3)])
cluster.sizestat(cluster[,c(1,4,5)])
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|