termSim {GOSemSim} | R Documentation

## termSim

### Description

measuring similarities between two term vectors.

### Usage

    termSim(t1, t2, semData, method = c("Wang", "Resnik", "Rel", "Jiang", "Lin"))

### Arguments

`t1` | term vector
`t2` | term vector
`semData` | GOSemSimDATA object
`method` | one of "Wang", "Resnik", "Rel", "Jiang", and "Lin".

### Details

provide two term vectors, this function will calculate their similarities.

### Value

score matrix

### Author(s)

Guangchuang Yu http://guangchuangyu.github.io

[Package GOSemSim version 2.6.2 Index]