Description Usage Arguments Details Value Examples
Identifying model violations under the Generalized Mixed Yule Coalescent (GMYC) model using parametric bootstrap.
1 2 |
tree.input |
A file name which contains an ultrametric phylogenetic tree. |
tree.format |
A character string specifying the format of the phylogenetic tree. Two choices are possible: "nexus" or "newick". |
seq |
A file name which contains a sequential FASTA alignment. |
nsim |
Number of simulated trees, Default: 100 trees. |
nboot |
The size of the null distribution, Default: 100. |
perc.treshold |
Percentage of the number of species recovered by the empirical dataset used to set the threshold to calculate the p-value, Default: 0.1 (10%). |
This function take a ultrametric phylogenetic tree and a sequential FASTA alignment and test for model violation of the GMYC model using a parametric bootstrap framework.
A list containing the p-value, the threshold used to calculate the p-value, and the null distribution.
1 2 3 4 5 6 | ## Lygodactylus dataset
P2C2M_GMYC.Pboot(tree.input=system.file("extdata", "Lygodactylus.tre", package="P2C2M.GMYC"),
tree.format="nexus",
seq=system.file("extdata", "Lygodactylus.fas", package="P2C2M.GMYC"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.