add_starting_trees_to_xml: Make starting trees, insert into beast xml and create ML tree...

Description Usage Arguments Value

View source: R/starttree1.R

Description

This will generate multiple starting trees by ML & treedater. Each tree is produced by a different random resolution of polytomies in the ML tree Sequence names must have sample times included (see prep_tip_labels)

Usage

1
2
3
4
5
6
7
8
add_starting_trees_to_xml(
  xmlfn,
  fastafn,
  plotout = NULL,
  regionDemes = c("Il"),
  ntres = 1,
  ncpu = 4
)

Arguments

xmlfn

File name of beast xml

fastafn

File name of sequence data (needed for ML tree estimation)

plotout

Output file name for ML tree plot. Set NULL to not plot

regionDemes

regions to colour in the output ML tree

ntres

integer how many start trees to produce? a distinct xml is made for each

ncpu

Number of CPUs to use

Value

Some treedater trees. New XMLs are written to disk


emvolz-phylodynamics/sarscov2Rutils documentation built on Nov. 17, 2020, 9:22 a.m.