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 April 23, 2024, 11:35 a.m.