View source: R/pwm-functions.r
Create a degenerate PWM i.e. for each aa group, set weight to the best weight of the group at that position e.g. R-2 has weight 0.7, K-2 has weight 0.1. Set both R-2 and K-2 to 0.7
1 | degeneratePWM(pwm, dgroups = c("DE", "KR", "ILMV", "QN", "ST"))
|
pwm |
position weight matrix |
dgroups |
groups of amino acids |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.