Learn R Programming

GOSemSim (version 1.30.2)

termSim: termSim

Description

measuring similarities between two term vectors.

Usage

termSim(t1, t2, method = c("Wang", "Resnik", "Rel", "Jiang", "Lin"), organism = "human", ont = "BP")

Arguments

t1
term vector
t2
term vector
method
one of "Wang", "Resnik", "Rel", "Jiang", and "Lin".
organism
about 20 species supported, please refer to the vignettes
ont
ontology

Value

score matrix

Details

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