computeKsPipeline | R Documentation |
Runs the pipeline to compute the Ks values of gene pair 'x' with coding sequences held in 'cds'. Temporary files are stored in 't.d'. Disclaimer: This function will only work on *nix Operating Systems with 'codeml' and 'tail' installed.
computeKsPipeline(gene.a, gene.b, cds = all.cds,
t.d = file.path(tempdir(), paste(gene.a, gene.b, sep = "_")),
codeml.call = getOption("GeneFamilies.codeml.call", "codeml"))
gene.a |
A string holding the gene identifier as present in argument
|
gene.b |
A string holding the gene identifier as present in argument
|
cds |
an instance of |
t.d |
the directory to store the files in, default is tempdir()
appended with |
codeml.call |
the call passed to system(...) in order to start codeml. Default is 'codeml', use option 'GeneFamilies.codeml.call' to set another default. |
A list of three named numeric values: 'Ka', 'Ks', and 'w'. The first
two are parsed from the codeml output file and the latter is computed as
Ka/Ks
.
Yang, Z. and Nielsen, R. (2000) Mol. Biol. Evol., 17, 32-43.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.