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

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

[复制链接]
发表于 2012-2-25 17:59:47 | 显示全部楼层 |阅读模式
consensus(flowPhyto)
consensus()所属R语言包:flowPhyto

                                        create a consensus vector from several classification vectors
                                         从几个分类向量创建一个共识向量

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

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

Create a consensus from several classification vectors
创建一个从几个分类向量的共识


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


consensus(mtrx, threshold=.6)



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

参数:mtrx
a matrix of n concatenated classification vectors.
一个n的矩阵级联分类向量。


参数:threshold
the minimum percentage of identical classification calls required for an unambiguous consensus call.
需要一个明确的共识调用相同分类的最低百分比要求。


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

a vector the same length as the number of rows in the input matrix with a population classification call for each element
一个向量在人口分类,对每个元素调用输入矩阵的行数相同长度


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


vct.paths <- sapply(c(1,439,440), function(i)
                system.file("extdata","seaflow_cruise","2011_001",
                        paste("1.evt.opp.",i,'-class.vct',sep=''),
                                package="flowPhyto"))
mat <- do.call(cbind,lapply(vct.paths, read.delim))
v <- consensus(mtrx=mat)
table(v$pop)
aggregate(v$support,list(v$pop), mean)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 23:49 , Processed in 0.022474 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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