Description Usage Arguments Value Author(s)
Constrains filter weights to be valid PWMs by rescaling the weights.
1 2 | restrict_to_PWM(wts, bg = c(0.25, 0.25, 0.25, 0.25),
pseudoprob = 0.001)
|
wts |
Convolutional filter weights. |
bg |
Vector of background nucleotide probabilities (A, C, G, T) |
pseudoprob |
Value to add to zero-valued position probability matrix entries prior to converting to PWM. |
Rescaled weights.
Matthew Ploenzke, ploenzke@g.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.