View source: R/selection_funks.R
axtForSelectedDistances | R Documentation |
Extracts pairs of genes from a CDS multiple sequence alignment. The ones extracted are identified by computing all pairwise sequence based distances from the multiple sequence alignment. Then those pairs representing the argument statistics, e.g. 'min', 'mean', 'median', and 'max' are used to generate the axt file for subsequent analysis with KaKs_Calculator (https://sourceforge.net/projects/kakscalculator2/).
axtForSelectedDistances(cds.msa, background.genes = NULL,
dist.stats = getOption("GeneFamilies.cds.msa.dist.stats", c("min",
"median", "mean", "max")))
cds.msa |
The result of invoking |
background.genes |
A character vector or |
dist.stats |
A character vector holding the names of the statistics
functions that are to be matched with the respective pairwise sequence based
distances. Default is |
A named list. Names are those of argument dist.stats
. These
names can be concatonated with the letter '&' if a pair of genes fulfills
the criterion of various statistics. Values are the gene pairs themselfes.
Returns NA
if and only if no numeric finite non-NA sequence based
pairwise distances could be obtained from the multiple alignment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.