This function calculates the Composition descriptor
CTDC(x)
x | A vector of k-mers (character vector) |
---|
A matrix with the Composition descriptor (dim: 21)
This is an internal function used inside predict_hyp
Inna Dubchak, Ilya Muchink, Stephen R. Holbrook and Sung-Hou Kim. Prediction of protein folding class using global description of amino acid sequence. Proceedings of the National Academy of Sciences. USA, 1995, 92, 8700-8704.
original R code by Nan Xiao