Description Usage Arguments Details
Calculates the functionality of a single gene
1 2 | GetFunctionality(gene.length, aa.data, optimal.aa, alpha, beta, gamma,
gp = NULL, aa.properties = NULL)
|
gene.length |
Indicates the length of the gene used to calculate functionality. |
aa.data |
A matrix of amino acids |
optimal.aa |
A vector of inferred optimal amino acids. |
alpha |
The inferred Grantham composition paramter |
beta |
The inferred Grantham polarity parameter |
gamma |
The inferred Grantham molecular volume parameter |
gp |
A vector of gamma rates for calculating among site hetergeneity in functionality. |
aa.properties |
User-supplied amino acid distance properties. By default we assume Grantham (1974) properties. |
The purpose of this function is to provide the functionality of a gene based on the inferred parameters from SelAC. The functionality is often used to scale phi.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.