restrict_to_IGM: Constrains weights to be valid information measures.

Description Usage Arguments Value Author(s)

Description

Constrains filter weights to be valid IGMs by rescaling the weights.

Usage

1
2
restrict_to_IGM(wts, offset, bg = c(0.25, 0.25, 0.25, 0.25),
  pseudocount = 0.05)

Arguments

wts

Convolutional filter weights.

offset

Filter offset weights.

bg

Vector of background nucleotide probabilities (A, C, G, T)

pseudocount

Value to add to zero-valued position probability matrix column sums prior to converting to IGM.

Value

Rescaled weights.

Author(s)

Matthew Ploenzke, ploenzke@g.harvard.edu


mPloenzke/learnMotifs documentation built on May 27, 2019, 11:55 a.m.