This function calculates the normalized Moreau-Broto autocorrelation descriptor.
extractMBdesc(x, mat, nlag)
x | A vector of k-mers |
---|---|
mat | A matrix with amino acid atributes. Columns are amino acids, rows are atributes |
nlag | The lag parameter |
A matrix with the Normalized Moreau-Broto Autocorrelation Descriptor (dim: nlag * nrow(mat))
Normalized Moreau-Broto Autocorrelation Descriptor is calculated based on the following amino acid attributes: CIDH920105 - Normalized average hydrophobicity scales, BHAR880101 - Average flexibility indices, CHAM820102 - Free energy of solution in water, kcal/mole, BIGC670101 - Residue volume, CHAM810101 - Polarizability parameter and DAYM780201 - Relative mutability
This is an internal function used inside predict_hyp
original R code by Nan Xiao, modified by Milan Dragićević