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

phyloToricAMatrix -- construct the design matrix of a group-based phylogenetic model

Synopsis

Description

i1 : phyloToricAMatrix(4, {{1, 2}},CFNmodel)

o1 = | 1 0 0 1 1 0 0 1 |
     | 0 1 1 0 0 1 1 0 |
     | 1 1 1 1 0 0 0 0 |
     | 0 0 0 0 1 1 1 1 |
     | 1 1 0 0 1 1 0 0 |
     | 0 0 1 1 0 0 1 1 |
     | 1 0 1 0 1 0 1 0 |
     | 0 1 0 1 0 1 0 1 |
     | 1 0 0 1 0 1 1 0 |
     | 0 1 1 0 1 0 0 1 |

              10       8
o1 : Matrix ZZ   <-- ZZ

Ways to use phyloToricAMatrix :

For the programmer

The object phyloToricAMatrix is a method function.