hmm_Single_Average {protHMM}R Documentation

hmm_Single_Average

Description

This feature groups together rows that are related to the same amino acid. This is done using a vector SA(k)SA(k), in which kk spans 1:4001:400 and SA(k)=avgi=1,2...LH[i,j]×δ(P(i),A(z))SA(k) = avg_{i = 1, 2... L}H[i, j] \times \delta(P(i), A(z)), in which HH is the HMM matrix, PP in the protein sequence, AA is an ordered set of amino acids, the variables j,z=1:20j, z = 1:20, the variable k=j+20×(z1)k = j + 20 \times (z-1) when creating the vector, and δ()\delta() represents Kronecker's delta.

Usage

hmm_Single_Average(hmm)

Arguments

hmm

The name of a profile hidden markov model file.

Value

A vector of length 400.

References

Nanni, L., Lumini, A., & Brahnam, S. (2014). An Empirical Study of Different Approaches for Protein Classification. The Scientific World Journal, 2014, 1–17.

Examples

h<- hmm_Single_Average(system.file("extdata", "1DLHA2-7", package="protHMM"))


[Package protHMM version 0.1.1 Index]