/
clock_models_to_xml_prior_distr.Rd
42 lines (40 loc) · 1.21 KB
/
clock_models_to_xml_prior_distr.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clock_models_to_xml_prior_distr.R
\name{clock_models_to_xml_prior_distr}
\alias{clock_models_to_xml_prior_distr}
\title{Represent the clock models as XML}
\usage{
clock_models_to_xml_prior_distr(
clock_models,
mrca_priors = NA,
tipdates_filename = NA
)
}
\arguments{
\item{clock_models}{a list of one or more clock models,
as returned by \code{\link{create_clock_model}}}
\item{mrca_priors}{a list of one or more Most Recent Common Ancestor priors,
as returned by \code{\link{create_mrca_prior}}}
\item{tipdates_filename}{name of the file containing the tip dates.
This file is assumed to have two columns, separated by a tab.
The first column contains the taxa names, the second column contains
the date.}
}
\value{
a character vector of XML strings
}
\description{
Represent the clock models as XML
}
\examples{
# <distribution id="posterior" spec="util.CompoundDistribution">
# <distribution id="prior" spec="util.CompoundDistribution">
# HERE, where the ID of the distribution is 'prior'
# </distribution>
# <distribution id="likelihood" ...>
# </distribution>
# </distribution>
}
\author{
Richèl J.C. Bilderbeek
}