pwm2ig: PWM information gain

Description Usage Arguments Value

View source: R/plot_logos.R

Description

Compute the information gain per position for a PWM.

Usage

1
pwm2ig(pwm, bg)

Arguments

pwm

(numeric matrix) position weight matrix

bg

(numeric vector) background frequencies of the nucleotides

Value

(numeric vector) of the information content per position


markheron/pRon documentation built on Feb. 18, 2020, 12:33 a.m.