CL-GODB: Standard Generic Function GET-CHILD-TERMS

Generic function GET-CHILD-TERMS

Package:

GODB

Syntax:

  get-child-terms go-handle accession
  => child-term-objects
  

Arguments and Values:

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

accession---a string

Description:

The generic function get-child-terms is used to find all children of a term. It takes two parameters, go-handle, to preserve the session, and accession to identify the term whose children to find. It returns a list of objects of type TERM

Known Methods:

  •   get-child-terms (go-handle-object go-handle) (accession string)
      =>  child-term-objects
      

Affected By:

None.

Examples:

cl-prompt: (godb:get-child-terms mygohandle "GO:0001907")
(#<GODB:TERM 20607E6C>)

Exceptional Situations:

None.

See Also:

GET-PARENT-TERMS
GET-CONTAINER-TERMS

Notes:

This function finds the ids for all children of the input accession then it checks if they are already in the hash table. If they are not, they are then added. In both cases, the "children" slot of the parent's term object is filled with a list of references to the children's term objects.


News

News in chronological order, most recent on top.

  • 2005-07-29
    Completed description.