consensus.identify {BarcodingR}R Documentation

Consensus Identification

Description

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

Usage

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


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)

[Package BarcodingR version 1.0-3 Index]