FMF {BarcodingR} | R Documentation |
Fuzzy Membership Function Value
Description
Calculation fuzzy membership function value given a distance from query to a potenial species, maximal intraspecific variation of the potential species theta1, and minimal interspecific distance (here, the distance between the potential species and its nearest neighbor theta2) (fuzzy-set based method, Zhang et al. 2012), different definition of distances could also be used.
Usage
FMF(xtheta12)
Arguments
xtheta12 |
a numerical vector containing three elements, a distance from query to a potenial species, maximal or sd of intraspecific variation of the potential species theta1,minimal or mean interspecific distance. |
Value
a numeric between 0 and 1.
Note
different definitions of distances could also be used.
Author(s)
Ai-bing ZHANG, Zhi-yong SHI. CNU, Beijing, CHINA, contact at zhangab2008(at)mail.cnu.edu.cn
References
Zhang, A. B., C. Muster, H.B. Liang, C.D. Zhu, R. Crozier, P. Wan, J. Feng, R. D. Ward.(2012). A fuzzy-set-theory-based approach to analyse species membership in DNA barcoding. Molecular Ecology, 21(8):1848-63.
Examples
xtheta12<-c(0.6289163,0.1465522,0.6379375)
FMF.out<-FMF(xtheta12)
FMF.out