Generic function GET-COMPONENT-TERMS
get-component-terms go-handle accession => component-term-objects
Arguments and Values:
go-handle---an object of type go-handle
The generic function get-component-terms is used to find all children 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 children to find. It returns a list of objects of type TERM
get-component-terms (go-handle-object go-handle) (accession string) => component-term-objects
cl-prompt: (godb:get-component-terms mygohandle "GO:0007610") (#<CL-GODB:TERM 21A50F84>)
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 "components" slot of the parent's term object is filled with a list of references to the children's term objects.
News in chronological order, most recent on top.