getdescendents
Find terms that are descendents of specified Gene Ontology (GO) term
Syntax
Description
searches DescendentIDs
= getdescendents(GeneontObj
,ID
)GeneontObj
, a geneont
object, for GO terms
that are descendents of the GO term(s) specified by ID
, which is a GO
term identifier or vector of identifiers. The result DescendentIDs
is a
vector of GO term identifiers including ID
.
[
also returns the number of times each descendent is found. DescendentIDs
,Counts
] = getdescendents(GeneontObj
,ID
)Counts
is a
column vector with the same number of elements as terms in
GeneontObj
.
Tip
The Counts
return value is useful when you tally counts in gene
enrichment studies.
___ = getdescendents(
,
for any output arguments, specifies additional options using one or more name-value
arguments. For example, you can restrict the search to have up to two levels up in the gene
ontology by specifying GeneontObj
,ID
,Name,Value
)DescendentIDs =
getdescendents(GeneontObj,ID,Height=2)
.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a
See Also
geneont
| goannotread
| num2goid
| term