get_term_sim_mat(ontology, information_content, term_descendancy_matrix = get_term_descendancy_matrix(ontology, rows = get_ancestors(ontology, restrict_rows_to), cols = names(information_content)), method = c("lin", "resnik"), restrict_rows_to = names(information_content))ontology_index object.information_contentresnik, lin