Skip to content
  • Andreas Kusalananda Kähäri's avatar
    Added to new arguments to fetch_all_by_descendant_term(): · 9f4676e2
    Andreas Kusalananda Kähäri authored
    +  Arg [2]       : (optional) String
    +                  The subset within the ontolgy to which the query
    +                  should be restricted.  The subset may be specified
    +                  as a SQL pattern, e.g., "goslim%".
    +
    +  Arg [3]       : (optional) Boolean
    +                  If true (non-zero), only return the closest
    +                  terms.  If this argument is true, and the previous
    +                  argument is left undefined, this method will
    +                  return the parents of the given term.
    +
    +  Description   : Given a child ontology term, returns a list of
    +                  all its ancestor terms, up to and including any
    +                  root term.  Relations of the type 'is_a' and
    +                  'part_of' are followed.  Optionally, only terms in
    +                  a given subset of the ontology may be returned,
    +                  and additionally one may ask to only get the
    +                  closest term(s) to the given child term.
    9f4676e2