Skip to Main Content Skip to Search
Product Documentation

num2goid - Convert numbers to Gene Ontology IDs

Syntax

GOIDs = num2goid(X)

Description

GOIDs = num2goid(X) converts the numbers in X to strings with Gene Ontology IDs. IDs are seven-digit numbers preceded by the prefix GO:, which is the standard used by the Gene Ontology database.

Examples

Get the Gene Ontology IDs of the following numbers.

 t = [5575 5622 5623 5737 5840 30529 43226 43228 43229 43232 43234];
 ids = num2goid(t)

Columns 1 through 4

    'GO:0005575'    'GO:0005622'    'GO:0005623'    'GO:0005737'

  Columns 5 through 8

    'GO:0005840'    'GO:0030529'    'GO:0043226'    'GO:0043228'

  Columns 9 through 11

    'GO:0043229'    'GO:0043232'    'GO:0043234'

See Also

geneont | geneont | geneont.getancestors | geneont.getdescendants | geneont.getmatrix | geneont.getrelatives | goannotread

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS