consensus.identify: Consensus Identification

Description Usage Arguments Value Note Author(s) Examples

Description

Make consensus for identifications from two or more methods, usually for a set of query sequences.

Usage

1
consensus.identify(identifiedBy2orMore)

Arguments

identifiedBy2orMore

an object of class "data.frame", containing (queIDs, as rownames), identifiedByMethod1,identifiedByMethod2,and so on.

Value

a data frame with consensus.identification, and corresponding votes.

Note

Suitable for case where a set of queries were identified by more than two methods.

Author(s)

Ai-bing ZHANG, PhD. CNU, Beijing, CHINA, contact at zhangab2008(at)mail.cnu.edu.cn

Examples

1
2
3
4
5
6
7
8
9
queIDs<-c("q1","q2","q3")

bp<-c("sp1","sp1","sp1")
bpk<-c("sp1","sp1","sp2")
bayes<-c("sp2","sp1","sp3")
fuzzyID<-c("sp1","sp1","sp2")
identifiedBy2orMore<-data.frame(bp=bp,bpk=bpk,bayes=bayes,fuzzyID=fuzzyID)
rownames(identifiedBy2orMore)<-queIDs<-c("q1","q2","q3")
ccs<-consensus.identify(identifiedBy2orMore)

BarcodingR documentation built on April 14, 2020, 6:04 p.m.