View source: R/selection_funks.R
| KaKsStatistics | R Documentation |
GeneFamilies::axtForSelectedDistances.Uses KaKs_Calculator for selected pairs of aligned coding sequences to infer
Ka and Ks values among other measures. The pairs that are selected are
individuated by GeneFamilies::axtForSelectedDistances.
KaKsStatistics(cds.msa, gene.group.name, background.genes = NULL,
w.dir = tempdir(),
ka.ks.calculator.path = getOption("GeneFamilies.ka.ks.calculator.path",
file.path(path.package("GeneFamilies"), "KaKs_Calculator")),
ka.ks.calculator.model = getOption("GeneFamilies.ka.ks.calculator.model",
"GY"), ...)
cds.msa |
The result of invoking |
gene.group.name |
A string representing the name of the gene group for
which the argument |
background.genes |
A character vector or |
w.dir |
The directory in which to store input and output files with
which the KaKs_Calculator is invoked. Default is |
ka.ks.calculator.path |
The file path under which to find the
KaKs_Calculator executable. Default is
|
ka.ks.calculator.model |
A string used as a command line argument for
the |
... |
additional arguments passed to |
An instance of base::data.frame the read in tabular result of
invoking KaKs_Calculator using the system function. There is a
strange behavior of KaKs_Calculator, sometimes it write out a header line to
its result table, when e.g. using model GY, and sometimes it does
not, when using the newer models like GMYN. The result read in here
is assuming NO header line. To get your desired results look for the
appropriate row-name in the first column. To pass argument header =
TRUE to base::read.table use the ... argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.