Learn R Programming

GOSim (version 1.10.0)

getMinimumSubsumer: 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

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".

Details

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

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

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

Run the code above in your browser using DataLab