resnik: Calculate Resnik similarity score of two term sets

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

resnikR 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


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