phyloToricRandom(T,M)
phyloToricRandom(n,E,M)
This function computes a random invariant of a group-based phylogenetic tree model using the toric fiber product structure.
With equal probability the algorithm decides to return a linear, quadratic, or higher degree binomial. It then selects one of these at random (but uniformity is not guaranteed).
This is a much more efficient way to produce a single generator than listing all of them, which is useful for Monte Carlo random walk algorithms.
|
We currently do not guarantee a uniform distribution on the generators, even after the choice of linear, quadratic or higher degree.
The object phyloToricRandom is a method function with options.