This function extracts amino acid attributes

getAAindex(x, AA)

Arguments

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

Value

A matrix with specified amino acid attributes (dim: nchar(x) * ncol(AA)

Note

This is an internal function used inside predict_hyp

See also