termSim: termSim

View source: R/termSim.R

termSimR Documentation

termSim

Description

measuring similarities between two term vectors.

Usage

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

Arguments

t1

term vector

t2

term vector

semData

GOSemSimDATA object

method

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

Details

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

Value

score matrix

Author(s)

Guangchuang Yu http://guangchuangyu.github.io


YuLab-SMU/GOSemSim documentation built on Nov. 2, 2022, 2:57 p.m.