CL-GODB: Standard Generic Function N-PARENTS

Generic function N-PARENTS

Package:

GODB

Syntax:

  n-parents go-handle accession
  => number-of-parents
  

Arguments and Values:

go-handle---an object of type go-handle

accession---a string

Description:

The generic function n-parents is used to find the number of parents a term has. It takes two parameters, go-handle, to preserve the session, and accession to identify the term whose parents to count. It returns number-of-parents, an integer.

Known Methods:

  •   n-parents (go-handle-object go-handle) (accession string)
      =>  number-of-parents
      

Affected By:

None.

Examples:

cl-prompt: (godb:n-parents mygohandle "GO:0000126")
0

Exceptional Situations:

None.

See Also:

N-CHILDREN

Notes:

None.


News

News in chronological order, most recent on top.

  • 2005-06-23
    Completed description.