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


mgledi/DiffLogo documentation built on June 7, 2020, 8:23 a.m.