Generates a starting tree by adding each taxon in turn to the most parsimonious location.
Arguments
- dataset
A phylogenetic data matrix of phangorn class
phyDat, whose names correspond to the labels of any accompanying tree. Perhaps load into R usingReadAsPhyDat(). Additive (ordered) characters can be handled usingDecompose().- concavity
Determines the degree to which extra steps beyond the first are penalized. Specify a numeric value to use implied weighting (Goloboff 1993) ;
concavityspecifies k in k / e + k. A value of 10 is recommended; TNT sets a default of 3, but this is too low in some circumstances (Goloboff et al. 2018; Smith 2019) . Better still explore the sensitivity of results under a range of concavity values, e.g.k = 2 ^ (1:7). SpecifyInfto weight each additional step equally, (which underperforms step weighting approaches (Goloboff et al. 2008; Goloboff et al. 2018; Goloboff and Arias 2019; Smith 2019) ). Specify"profile"to employ an approximation of profile parsimony (Faith and Trueman 2001) .- constraint
Either an object of class
phyDat, in which case returned trees will be perfectly compatible with each character inconstraint; or a tree of classphylo, all of whose nodes will occur in any output tree. SeeImposeConstraint()and vignette for further examples.- sequence
Character or numeric vector listing sequence in which to add taxa. Randomized if not provided.
Examples
data("inapplicable.phyData", package = "TreeSearch")
AdditionTree(inapplicable.phyData[["Longrich2010"]], concavity = 10)
#>
#> Phylogenetic tree with 20 tips and 19 internal nodes.
#>
#> Tip labels:
#> Psittacosaurus_spp, Pachycephalosaurus_wyomingensis, Texacephale_langstoni, Hanssuesia_sternbergi, Homalocephale_calathocercos, Goyocephale_lattimorei, ...
#>
#> Rooted; no branch length.