lin: Calculate Lin similarity score of two term sets

View source: R/term-set-sim.R

linR Documentation

Calculate Lin similarity score of two term sets

Description

Warning! This function is slow - performing large numbers of ‘between term-set’ similarity calculations should be done using get_sim_grid.

Usage

lin(ontology, information_content, term_set_1, term_set_2)

Arguments

ontology

ontology_index object.

information_content

Numeric vector of information contents of terms (named by term)

term_set_1

Character vector of terms.

term_set_2

Character vector of terms.

Value

Numeric value.

References

Lin D (1998). ‘An Information-Theoretic Definition of Similarity.’ In Shavlik JW (ed.), _Proceedings of the Fifteenth International Conference on Machine Learning (ICML 1998), Madison, Wisconsin, USA, July 24-27, 1998_, pp. 296-304.

See Also

resnik, get_term_sim_mat


ontologySimilarity documentation built on May 29, 2024, 3:51 a.m.