Takes an airr clone object and returns BEAST2 XML for a trait/traitSet from a column
create_traitset(
clone,
trait_name,
column,
id,
trait_data_type = NULL,
isSet = FALSE,
include_germline_as_tip = FALSE
)
String of XML of the trait or traitSet
an airrClone
object
name of the trait
column in the clone data to use for the trait
unique identifer for this analysis
optional data type for the trait
is this a traitSet (TRUE) or a trait (FALSE)?
include the germline as a tip