generate_epifusion_XML.RdThis function takes a phylogenetic tree and/or case incidence data, in addition to some other information (analysis index date etc) and creates a parameter file for EpiFusion in eXtensible Markup Language.
generate_epifusion_XML(
tree = NA,
case_incidence = NA,
index_date,
loggers = NA,
analysis = NA,
model = NA,
parameters = NA,
priors = NA,
xml_filepath = "input.xml"
)phylogenetic tree (in S3 Phylo Object format) with branch lengths in terms of days, or path to a file with the formatted tree(s)
a data frame with case incidence and their date of occurrence. The data frame should consist of two columns: 'Date', a
the date, in
list of logging information (frequency, where to log the results files)
(optional) list of analysis instructions (e.g. how you wish to fit beta), if you wish to deviate from the default
(optional) list of model instructions (e.g. epidemiological observation model), if you wish to deviate from the default
(optional) list of parameters (e.g. how many MCMC steps), if you wish to deviate from the default
(optional) list of prior distributions for the pMCMC
filepath to write the complete XML file