goSim: Semantic Similarity Between Two GO Terms

Description Usage Arguments Value References See Also Examples

View source: R/goSim.R

Description

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

Usage

1
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

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

GOSemSim documentation built on Nov. 8, 2020, 4:52 p.m.