chronosCI | R Documentation |
Computes the confidence intervals of a chronogram using different methods.
chronosCI( chronogram, pml.output, B = 100, type = "semiparametric", calibration = NULL, method = "StraussSadler", control = NULL, quiet = FALSE, trees = FALSE )
chronogram |
a chronogram output by |
pml.output |
an unrooted tree output by |
B |
the number of replications. |
type |
the bootstrap method to be used. Can be either a character string among "nonparametric", "semiparametric", or "parametric", or an integer between 1 and 3. |
calibration |
a data frame with the calibration points of the tree. |
method |
a character string specifying the method used to assess
calibration uncertainty. See |
control |
see |
quiet |
a logical value. By default, the progress of the computations is printed. |
trees |
a logical value specifying whether to return the bootstrap trees produced by phangorn (FALSE, by default). |
The details of the methods are presented in the manuscript below.
The labels (or taxa names) of the first argument (chronogram
)
must be present in the second argument (pml.output
), and this
second one must also include the outgroup.
a matrix with the 50\ confidence intervals.
Emmanuel Paradis, Santiago Claramunt, Joseph Brown, Klaus Schliep
Paradis, E., Claramunt, S., Brown, J., and Schliep, K. Confidence intervals in molecular dating by penalized likelihood. (in preparation)
qage()
drawChronosCI()
ape::chronos()
phangorn::bootstrap.pml()
## Not run: ##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index)for the standard data sets. ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.