View source: R/TimeTreesFunctions.R
| create_traitset | R Documentation |
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
)
clone |
an |
trait_name |
name of the trait |
column |
column in the clone data to use for the trait |
id |
unique identifer for this analysis |
trait_data_type |
optional data type for the trait |
isSet |
is this a traitSet (TRUE) or a trait (FALSE)? |
include_germline_as_tip |
include the germline as a tip |
String of XML of the trait or traitSet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.