Description Usage Arguments Value Author(s) See Also Examples
View source: R/multiModelTest.R
The function is an extension for multiple alignments of the modelTest() function from phangorn. For more information help("modelTest")
1 2 3 4 5 6 7 8 9 10 11 12 |
genes |
A list objecti with multiple alignments (DNAbin class) |
model |
The models to evaluate. By default JC, F81, HKY, K80, SYM and GTR. Or use "all". |
G |
Boolean, Test Gamma. By default TRUE |
I |
Boolean, Test invariant sites. By default TRUE |
A list object of length of three. 1. summary.results: A data frame with the selected models for each alignment and each metric (AIC, AICw, AICc, AICcw and BIC). 2. results: Detailed information for each alignment (list object), the normal output of modelTest. 3. warnings: When a alignment have two o more models selected, the warning shows the models selected for each alignment and each metric.
Omar Daniel Leon-Alvarado leon.alvarado@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(alignTools)
data(Procyonidae)
head(PRocyonidae, 5L)
genes <- multiGenBank(Procyonidae, TRUE, FALSE)
alignment <- multiMuscle(genes, write.dna=FALSE)
models <- multiModelTest(genes=alignment)
models$results.summary
str(models$results)
models$results$cytb
models$warnigs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.