A trait set represent a collection of properties of taxons, for the use of initializing a tree. The traits are represented as text content in taxon=value form, for example, for a date trait, wecould have a content of chimp=1950,human=1991,neander=-10000. All white space is ignored, so they canbe put on multiple tabbed lines in the XML. The type of node in the tree determines what happes with this information. The default Node only recognizes 'date', 'date-forward' and 'date-backward' as a trait, but by creating custom Node classes other traits can be supported as well.
traitname, units, value, taxa, dateFormat
 
type: java.lang.String |
name of the trait, used as meta data name for the tree. Special traitnames that are recognized are 'age','date','date-forward' and 'date-backward'. |
Required input |
 
type: beast.evolution.tree.TraitSet$Units |
name of the units in which values are posed, used for conversion to a real value. This can be [year, month, day] (default 'year') |
Optional input |
 
type: java.lang.String |
traits encoded as taxon=value pairs separated by commas |
Required input |
 
type: beast.evolution.alignment.TaxonSet |
contains list of taxa to map traits to |
Required input |
 
type: java.lang.String |
the date/time format to be parsed, (e.g., 'dd/M/yyyy') |
Optional input |