mrca_prior_to_xml_taxonset: Creates the 'taxonset' section in the prior section of the...

View source: R/mrca_prior_to_xml_taxonset.R

mrca_prior_to_xml_taxonsetR Documentation

Creates the taxonset section in the prior section of the distribution section of a BEAST2 XML parameter file.

Description

Creates the taxonset section in the prior section of the distribution section of a BEAST2 XML parameter file.

Usage

mrca_prior_to_xml_taxonset(mrca_prior, taxa_names_with_ids = NULL)

Arguments

mrca_prior

a Most Recent Common Ancestor prior, as returned by create_mrca_prior

taxa_names_with_ids

taxa names that already have received an ID. Causes the XML to idref these

Details

<taxonset id="all" spec="TaxonSet"> <taxon id="626029_aco" spec="Taxon"/> <taxon id="630116_aco" spec="Taxon"/> <taxon id="630210_aco" spec="Taxon"/> <taxon id="B25702_aco" spec="Taxon"/> <taxon id="61430_aco" spec="Taxon"/> </taxonset>

Value

lines of XML text

Author(s)

Richèl J.C. Bilderbeek


ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.