Rev Language Reference


annotateTree

Usage

annotateTree(Tree tree, TraceTree trace, String file, Bool ages, Bool ccAges, Bool ccp, Bool conditionalAges, Probability hpd, Bool mean, Bool sampledAncestors)

Arguments

tree : Tree (pass by value)
The input tree which will be annotated.
trace : TraceTree (pass by reference)
The sample trace.
file : String (pass by value)
The name of the file where to store the tree.
ages : Bool (pass by value)
Annotate node ages?
Default : TRUE
ccAges : Bool (pass by value)
Annotate conditional clade ages?
Default : FALSE
ccp : Bool (pass by value)
Annotate conditional clade probabilities?
Default : FALSE
conditionalAges : Bool (pass by value)
Annotate node ages conditional on the input topology?
Default : FALSE
hpd : Probability (pass by value)
The probability mass of the highest posterior density node age interval.
Default : 0.95
mean : Bool (pass by value)
Annotate node ages using the mean age instead of the median?
Default : TRUE
sampledAncestors : Bool (pass by value)
Annotate sampled ancestor probs?
Default : FALSE

Return Type