mvMPQTree - Tree proposals for reversible and non-reversible substitution analyses
| tree : | Tree (<stochastic> pass by reference) |
| The phylogeny. | |
| updateRoot : | Bool (pass by value) |
| Should the position of the root be updated? Set this to FALSE whenever an outgroup has been assigned. The move cannot work this out for itself: the tree prior does not enforce the outgroup once the MCMC is running (RevBayes issue #157), so a root move would walk the root off the outgroup and nothing would object. | |
| Default : TRUE | |
| weight : | RealPos (pass by value) |
| The weight determines the relative frequency with which this move will be attempted. For details, see the description of the 'moveschedule' parameter on the documentation page for 'mcmc()'. | |
| Default : 1 |
taxa <- v(taxon("A"), taxon("B"), taxon("C"), taxon("D"))
tree ~ dnUniformTopologyBranchLength(
taxa=taxa, branchLengthDistribution=dnExp(10.0), rooted=TRUE)
moves = VectorMoves()
moves.append(mvMPQTree(tree=tree, updateRoot=TRUE, weight=4))
# If the root must stay on an assigned outgroup branch, instead
# construct the move with updateRoot=FALSE.