resnik {ontologySimilarity}R Documentation

Calculate Resnik 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

resnik(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

Resnik, P. (1995). ‘Using information content to evaluate semantic similarity in a taxonomy’. Proceedings of the 14th IJCAI 1, 448-453.

See Also

lin, get_term_sim_mat


[Package ontologySimilarity version 2.7 Index]