Calculate the Wang similarity matrix for an ontology
rs_onto_sim_wang_mat.RdThis function calculates the Wang similarity matrix for a given ontology.
Arguments
- parents
String vector. The names of the parents.
- children
String vector. The names of the childs. The length of
parentsneeds to be equal tochildren.- w
Numerics. The weights between the parents and children. Need to be values between 0 and 1.
- flat_matrix
Boolean. Shall only the upper triangle be returned.