lin: Calculate Lin similarity score of two term sets

Description Usage Arguments Value References See Also

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

Description

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

Usage

1
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 Dec. 19, 2019, 5:06 p.m.