phyloToricLinears(T,M)
phyloToricLinears(n,E,M)
For models such as Jukes-Cantor (JCmodel) and Kimura 2-parameter (K2Pmodel), multiple variables in the Fourier coordinates may map to the same monomial under the monomial map that defines the toric variety of the model. These equivalencies give rise to linear relations in the space of Fourier coordinates.
The number of linear invariants is the codimension of the smallest linear subspace in which the toric variety of the model is contained.
The optional argument QRing can be passed the ring of Fourier coordinates. Otherwise the function will create a new ring.
|
|
|
The object phyloToricLinears is a method function with options.