Macaulay2 » Documentation
Packages » PhylogeneticTrees :: phyloToricFP
next | previous | forward | backward | up | index | toc

phyloToricFP -- compute the invariants of a group-based phylogenetic model with toric fiber products

Synopsis

Description

This function computes the invariants of a group-based phylogenetic tree model based on Theorem 24 of the paper Toric Ideals of Phylogenetic Invariants by Sturmfels and Sullivant.

Invariants are formed in three different ways. The linear and quadratic invariants are computed as in phyloToricLinears and phyloToricQuads respectively. Finally higher degree invariants are built using a toric fiber product construction from the invariants of claw trees.

i1 : T = leafTree(4, {{0,1}})

o1 = {{0, 1, 2, 3}, {set {0, 1}, set {0}, set {1}, set {2}, set {3}}}

o1 : LeafTree
i2 : phyloToricFP(T, CFNmodel)

o2 = ideal (- q       q        + q       q       , q       q        -
               0,0,1,1 1,1,0,0    0,0,0,0 1,1,1,1   0,0,1,1 1,1,0,0  
     ------------------------------------------------------------------------
     q       q       , q       q        - q       q       , -
      0,0,0,0 1,1,1,1   0,0,1,1 1,1,0,0    0,0,0,0 1,1,1,1   
     ------------------------------------------------------------------------
     q       q        + q       q       , - q       q        +
      0,0,1,1 1,1,0,0    0,0,0,0 1,1,1,1     0,1,1,0 1,0,0,1  
     ------------------------------------------------------------------------
     q       q       , q       q        - q       q       , q       q       
      0,1,0,1 1,0,1,0   0,1,1,0 1,0,0,1    0,1,0,1 1,0,1,0   0,1,1,0 1,0,0,1
     ------------------------------------------------------------------------
     - q       q       , - q       q        + q       q       )
        0,1,0,1 1,0,1,0     0,1,1,0 1,0,0,1    0,1,0,1 1,0,1,0

o2 : Ideal of QQ[q       , q       , q       , q       , q       , q       , q       , q       ]
                  0,0,0,0   0,0,1,1   0,1,0,1   0,1,1,0   1,0,0,1   1,0,1,0   1,1,0,0   1,1,1,1

See also

Ways to use phyloToricFP :

For the programmer

The object phyloToricFP is a method function with options.