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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|