This function extracts amino acid attributes
getAAindex(x, AA)
| x | A vector of k-mers (character vector) |
|---|---|
| AA | a matrix of amino acid attributes with attributes as rownames and amino acids as column names |
A matrix with specified amino acid attributes (dim: nchar(x) * ncol(AA)
This is an internal function used inside predict_hyp