Learn R Programming

ontologySimilarity (version 1.0)

lin: 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

References

Lin, D. (1998). An information-theoretic definition of similarity. In Shavlik, J. W., ed., Proceedings of the Fifteenth International Conference on Machine Learning (ICML 1998), Madison, Wisconsin, USA, July 24-27, 1998. (Morgan Kaufmann) pp. 296-304.

See Also

resnik, get_term_sim_mat