getMinimumSubsumer {GOSim}R Documentation

Compute minimum subsumer of two GO terms.

Description

Returns the minimum subsumer (i.e. the common ancestor having the maximal information content) of two GO terms

Usage

getMinimumSubsumer(term1, term2)

Arguments

term1

GO term 1

term2

GO term 2

Details

The result is computed within the currently set ontology ("BP","MF","CC").

Value

GO term representing the minimum subsumer. If there is no minimum subsumer within the currently set GO category (e.g. because one of the GO terms does not exist), the result is the string "NA".

Author(s)

Holger Froehlich

References

P. Resnik, Using Information Content to evaluate semantic similarity in a taxonomy, Proc. 14th Int. Conf. Artificial Intel., 1995

See Also

getTermSim, getGOGraph, setOntology

Examples

 setOntology("BP")
 getMinimumSubsumer("GO:0006955","GO:0007584")
 # returns GO:0050896

[Package GOSim version 1.31.0 Index]