Generic function GET-TERM-BY-NAME
Package:
GODB
Syntax:
get-term-by-name go-handle name => term-object
Arguments and Values:
go-handle
---an object of type go handle
name
---a string
Description:
The generic function get-term-by-name gets a go term given its name. It takes two parameters, go handle, to preserve one's session, and name for querying the database. If the term has been queried already, it simply returns the stored TERM object. otherwise, it indexes the term and then returns the new object.
Known Methods:
-
get-term-by-name (go-handle-object go-handle) (name string) => term-object
Affected By:
None.
Examples:
cl-prompt: (godb:get-term-by-name mygohandle "Killing of Host Cells") #<GODB:TERM 20618A74> cl-prompt: (describe *) #<GODB:TERM 20608F94> is a GODB:TERM TERM-ID 999 NAME "killing of host cells" ACCESSION GODB::GO\:0001907 TERM-TYPE "process" DEFINITION #<unbound slot> IS-OBSOLETE 0 IS-ROOT 0 IS-A (989) PART-OF NIL CHILDREN NIL COMPONENTS NIL
Exceptional Situations:
None.
See Also:
Notes:
None.
News
News in chronological order, most recent on top.
- 2005-07-17
Completed description.
© 2005, Samantha Kleinberg, all rights reserved.