powered by
For a given phylogenetic network generate tip data. Any values not specified use default values
SimulateTips(phy.graph, sigma.sq = 1, mu = 0, bt = 1, vh = 0, SE = 0, measurement.error = 0, gamma = 0.5, exclude.donors.recipients = TRUE)
An ape::evonet object (a phylogeny stored in phylo format that also includes a reticulation matrix)
The Brownian motion wiggle rate
The population mean (in the absence of hybridization)
The beta value (multiplier on expected value for each hybridization event)
The burst of variance that comes from a hybridization event
Uniform uncertainty at the tips
Uncertainty at the tips, especially if it varies between species
In a hybridization event, what proportion of the trait comes from the donating parent. 0.5 means half comes from each parent
If TRUE, do not generate for any donors or recipient placeholder taxa
A vector of trait values
# NOT RUN { network <- SimulateNetwork(ntax=5, nhybridizations=2) tips <- SimulateTips(network, mu=1.1, bt=3, vh=1.1, SE=1) # }
Run the code above in your browser using DataLab