pwmDivergence {DiffLogo} | R Documentation |
Counts PWM divergence as sum of divergencies of their columns.
pwmDivergence(pwm_left, pwm_right, divergence = shannonDivergence)
pwm_left |
is a PWM representation in type of matrix |
pwm_right |
is a PWM representation in type of matrix. The result is symmetric on pwm_left and pwm_right |
divergence |
is a Divergence function on columns. |
float - sum of divergences