goSim {GOSemSim} | R Documentation

## Semantic Similarity Between Two GO Terms

### Description

Given two GO IDs, this function calculates their semantic similarity.

### Usage

    goSim(GOID1, GOID2, semData, measure = "Wang")

### Arguments

`GOID1` | GO ID 1.
`GOID2` | GO ID 2.
`semData` | GOSemSimDATA object
`measure` | One of "Resnik", "Lin", "Rel", "Jiang" and "Wang" methods.

### Value

similarity

### References

Yu et al. (2010) GOSemSim: an R package for measuring semantic similarity among GO terms and gene products Bioinformatics (Oxford, England), 26:7 976–978, April 2010. ISSN 1367-4803 http://bioinformatics.oxfordjournals.org/cgi/content/abstract/26/7/976 PMID: 20179076

### See Also

`mgoSim` `geneSim` `mgeneSim` `clusterSim` `mclusterSim`

### Examples

        d <- godata('org.Hs.eg.db', ont="MF", computeIC=FALSE)
    goSim("GO:0004022", "GO:0005515", semData=d, measure="Wang")

[Package GOSemSim version 2.8.0 Index]