meshSim: meshSim

Description Usage Arguments Value Author(s) Examples

View source: R/meshSim.R

Description

semantic similarity between two MeSH term vectors

Usage

1
meshSim(meshID1, meshID2, measure = "Wang", semData)

Arguments

meshID1

MeSH term vector

meshID2

MeSH term vector

measure

one of "Wang", "Resnik", "Rel", "Jiang" and "Lin"

semData

annotation data for semantic measurement, output by meshdata function

Value

score matrix

Author(s)

Guangchuang Yu https://guangchuangyu.github.io

Examples

1
2
3
## hsamd <- meshdata("MeSH.Hsa.eg.db", category='A', computeIC=T, database="gendoo")
data(hsamd)
meshSim("D000009", "D009130", semData=hsamd, measure="Resnik")

GuangchuangYu/meshes documentation built on May 22, 2021, 3:01 p.m.