Generic function ASSOCIATIONS-BY-GENE-PROD
Package:
GODB
Syntax:
associations-by-gene-prod go-handle gene-product-id => list-of-association-objects
Arguments and Values:
go-handle
---an object of type go-handle
gene-product-id
---an integer
Description:
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.
Known Methods:
-
associations-by-gene-prod (go-handle-object go-handle) (gene-product-id integer) => list-of-association-objects
Affected By:
None.
Examples:
cl-prompt: (godb:associations-by-gene-prod mygohandle 16234) (#<GODB:ASSOCIATION 205F363C> #<GODB:ASSOCIATION 205F346C>)
Exceptional Situations:
None.
See Also:
None.
Notes:
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
News in chronological order, most recent on top.
- 2005-06-20
Completed description.
© 2005, Samantha Kleinberg, all rights reserved.