twoSetsAveragePwmDivergenceFromAlignmentVector {DiffLogo} | R Documentation

## Average divergence between two sets.

### Description

Computes average pwm divergence from alignment vector for two datasets. This equals to average divergence between all pairs where one pwm comes from left set, and other comes from right

### Usage

    twoSetsAveragePwmDivergenceFromAlignmentVector(left_pwms_list,
      left_pwms_alignment, right_pwms_list, right_pwms_alignment,
      divergence = shannonDivergence)

### Arguments

`left_pwms_list` | is a list of matrixes
`left_pwms_alignment` | is a list of shifts ($shift) and orientations ($direction)
`right_pwms_list` | is a list of matrixes
`right_pwms_alignment` | is a list of shifts ($shift) and orientations ($direction)
`divergence` | divergence measure.

### Value

float

### Author(s)

Lando Andrey

[Package DiffLogo version 2.12.2 Index]