Description Usage Arguments Value Note References Examples
This function facilitates the calculation of Kabat conservation metric.
1 | kabat_conservativity(alignment, weights = NULL, pseudo_counts = F)
|
alignment |
Alignment data read with |
weights |
(optional) A vector of length equal number of sequences in the alignment object with weights to overcome the taxonomic bias in the conservation analysis. |
pseudo_counts |
(optional) A logical indicating if pseudo-counts should be added to the MSA. Pseudo-counts can be used only without weights. Using this option with pseudo-counts will be suppressed. Default: FALSE |
A vector of length equal to the length of aligned sequences
Please note that the Kabat matric formula can be found in the paper listed in "See Also" section below. Also, this function originally calculates the entropy values which can be used to estimate the conservativity score according to the following formula:
conservation = 1 - entropy
http://onlinelibrary.wiley.com/doi/10.1002/prot.10146/abstract
1 2 | data("small_alignment")
conservation_score = kabat_conservativity(alignment)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.