hmm_smooth | R Documentation |
This feature smooths the HMM matrix H
by using sliding window of length sw
to incorporate information
from up and downstream residues into each row of the HMM matrix. Each HMM row r_i
is made into the summation
of r_{i-(sw/2)}+... r_i...+r_{i+(sw/2)}
, for i = 1:L
, where L
is the number of rows in H
.
For rows such as the beginning and ending rows, 0
matrices of dimensions sw/2, 20
are appended to the
original matrix H
.
hmm_smooth(hmm, sw = 7)
hmm |
The name of a profile hidden markov model file. |
sw |
The size of the sliding window. |
A matrix of dimensions L \times
20.
Fang, C., Noguchi, T., & Yamana, H. (2013). SCPSSMpred: A General Sequence-based Method for Ligand-binding Site Prediction. IPSJ Transactions on Bioinformatics, 6(0), 35–42.
h<- hmm_smooth(system.file("extdata", "1DLHA2-7", package="protHMM"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.