Fig. 4From: Identification of DNA-binding proteins using multi-features fusion and binary firefly optimization algorithmAn Example of calculating parameter r. Firefly X = {1 0 0 1 1 1 1 0 0 0}, Firefly Y = {1 0 1 1 0 1 1 1 0 0}. The distance or difference is calculated by X ⊕ Y operation and equals {0 0 1 0 1 0 0 1 0 0}. Finally, the similarity ratio of between X and Y is r. -(3/10) = 0.7Back to article page