getMinimumSubsumer: Compute minimum subsumer of two GO terms.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/termSimilarity.R

Description

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

Usage

1
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

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

GOSim documentation built on Nov. 1, 2018, 2:26 a.m.