Generic function GET-CONTAINER-TERMS
Package:
GODB
Syntax:
get-container-terms go-handle accession => container-term-objects
Arguments and Values:
go-handle---an object of type go-handle
accession---a string
Description:
The generic function get-container-terms is used to find all parents of a term using the part-of hierarchy. It takes two parameters, go-handle, to preserve the session, and accession to identify the term whose parents to find. It returns a list of objects of type TERM
Known Methods:
-
get-container-terms (go-handle-object go-handle) (accession string) => container-term-objects
Affected By:
None.
Examples:
cl-prompt: (godb:get-container-terms mygohandle "GO:0046782")
(#<CL-GODB:TERM 2060ED1C>)
describe (first *)
#<CL-GODB:TERM 2060ED1C> is a CL-GODB:TERM
TERM-ID 9888
NAME "viral transcription"
ACCESSION CL-GODB::GO\:0019083
TERM-TYPE "process"
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-CHILD-TERMS
GET-PARENT-TERMS
GET-COMPONENT-TERMS
Notes:
This function finds the ids for all parents 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 "part-of" slot of the child's term object is filled with a list of references to the parents' term objects.
News
News in chronological order, most recent on top.
- 2005-07-29
Completed description.