| Bioinformatics Toolbox™ | ![]() |
Annotation = goannotread(File)
| File | String specifying a file name of a Gene Ontology annotated file. |
Annotation = goannotread(File) converts the contents of File, a Gene Ontology annotated file into Annotation, an array of structs. Files should have the structure specified in:
http://www.geneontology.org/GO.annotation.shtml#file
A list with some annotated files can be found at:
http://www.geneontology.org/GO.current.annotations.shtml
Open a Web browser to
http://www.geneontology.org/GO.current.annotations.shtml
Download the file containing GO annotations for the gene products of Saccharomyces cerevisiae (gene_association.sgd.gz) to your MATLAB® Current Directory.
Uncompress the file using the gunzip function.
gunzip('gene_association.sgd.gz')Read the file into the MATLAB software.
SGDGenes = goannotread('gene_association.sgd');Create a structure with GO annotations and get a list of genes.
S = struct2cell(SGDGenes); genes = S(3,:)'
Bioinformatics Toolbox™ functions: geneont (object constructor), num2goid
Bioinformatics Toolbox object: geneont object
Bioinformatics Toolbox methods of geneont object: getancestors, getdescendants, getmatrix, getrelatives
![]() | getpdb | gonnet | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |