| Bioinformatics Toolbox™ | ![]() |
[Matrix, ID, Relationship] = getmatrix(GeneontObj)
| GeneontObj | geneont object created by geneont (object constructor) |
[Matrix, ID, Relationship] = getmatrix(GeneontObj) converts a geneont object, GeneontObj, into Matrix, a matrix of relationship values between nodes (row and column indices), in which 0 indicates no relationship, 1 indicates an "is_a" relationship, and 2 indicates a "part_of" relationship. ID is a column vector listing Gene Ontology IDs that correspond to the rows and columns of Matrix. Relationship is a cell array of strings defining the types of relationships.
GO = geneont('LIVE',true);
[MATRIX, ID, REL] = getmatrix(GO); Bioinformatics Toolbox™ functions: geneont (object constructor), goannotread, num2goid
Bioinformatics Toolbox object: geneont object
Bioinformatics Toolbox methods of geneont object:getancestors, getdescendants, getmatrix, getrelatives
![]() | getmatrix (biograph) | getmatrix (phytree) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |