Description Usage Arguments Details Value Author(s) References
Takes the core genes alignment and produce a phylogeny.
1 2 | computePhylo(ali, mode = "ml", nbs = 100L, n_threads = 1,
outPrefix = "phylo", outDir = ".", rearrangement = "NNI", ...)
|
ali |
The path to the alignment file. |
mode |
One of "nj" (Neighbour-joining) of "ml" (Maximum likelihood). |
nbs |
The number of bootstraps. |
n_threads |
The number of cpus to use. Just used if nbs > 0. |
outPrefix |
A prefix to use on the output files. |
outDir |
Where to put the newick files. |
rearrangement |
Choice of tree rearrangement, only used if mode="ml". |
... |
Further arguments to pass to optim.pml. |
Takes the core gene alignment and produces newick files. If mode
is set to "nj", the outfile will have a "_nj.nwk" subffix. If set to "ml" and
nbs = 0L, then it will be "_ml.nwk", and if "ml" and nbs > 0L, then it will
output a second file with the bootstrap trees with the suffix
"_ml_nbs
.nwk".
Multiple cpus can be used when performing bootstrap.
It uses the "GTR" model to optimize the tree.
An object of class "phylo" (phangorn and ape packages), and the specified newick files.
Ignacio Ferres
Paradis E., Claude J. & Strimmer K. 2004. APE: analyses of phylogenetics and evolution in R language. Bioinformatics 20: 289-290. Schliep K.P. 2011. phangorn: phylogenetic analysis in R. Bioinformatics, 27(4) 592-593.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.