CL-GODB: Standard Generic Function GET-TERM

Generic function GET-TERM

Package:

GODB

Syntax:

  get-term go-handle go-id
  => term-object
  

Arguments and Values:

go-handle---an object of type go handle

go-id---an integer

Description:

The generic function get-term gets a go term given its go id. It takes two parameters, go handle, to preserve one's session, and go id for querying the database. If the term has been queried already, it simply returns the stored TERM object. otherwise, it indexes the term and then returns the new object.

Known Methods:

  •   get-term (go-handle-object go-handle) (go-id integer)
      => term-object
      

Affected By:

None.

Examples:

cl-prompt: (godb:get-term mygohandle 2145)
#<GODB:TERM 206104FC>

cl-prompt: (describe *)
#<GODB:TERM 205EDA64> is a GODB:TERM
TERM-ID          2145
NAME             "leukemia inhibitory factor receptor activity"
ACCESSION        GODB::GO\:0004923
TERM-TYPE        "function"
DEFINITION       #<unbound slot>
IS-OBSOLETE      0
IS-ROOT          0
IS-A             NIL
PART-OF          NIL
CHILDREN         NIL
COMPONENTS       NIL

Exceptional Situations:

None.

See Also:

GET-TERM-BY-ACC
GET-TERM-BY-NAME

Notes:

None.


News

News in chronological order, most recent on top.

  • 2005-06-23
    Completed description.