pwmDivergence: PWM divergence

Description Usage Arguments Value

View source: R/diffSeqLogoSupport.R

Description

Counts PWM divergence as sum of divergencies of their columns.

Usage

1
pwmDivergence(pwm_left, pwm_right, divergence = shannonDivergence)

Arguments

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.

Value

float - sum of divergences


DiffLogo documentation built on Nov. 1, 2018, 2:24 a.m.