
Calculate the Wang similarity matrix for an ontology
rs_onto_sim_wang_mat.RdArguments
- parents
String vector. The names of the parents.
- children
String vector. The names of the children. 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 (row-wise, diagonal excluded) be returned.