Generic function ASSOCIATIONS-BY-GENE-PROD
associations-by-gene-prod go-handle gene-product-id => list-of-association-objects
Arguments and Values:
go-handle---an object of type go-handle
The generic function associations-by-gene-prod is used to find a term's associations. It takes two parameters, go-handle, to preserve the session, and gene-product-id, to identify the term whose associations are to be found. It returns a list of objects of type ASSOCIATION.
associations-by-gene-prod (go-handle-object go-handle) (gene-product-id integer) => list-of-association-objects
cl-prompt: (godb:associations-by-gene-prod mygohandle 16234) (#<GODB:ASSOCIATION 205F363C> #<GODB:ASSOCIATION 205F346C>)
The function first checks if the associations are already in the hash table. If they are not, they are then added. Otherwise, it creates objects of type 'association' and then indexes them in the hashes on both accession and gene-product-id.
News in chronological order, most recent on top.