
Calculate the Wang similarity for specific terms
rs_onto_sim_wang.Rd
This function calculates the Wang similarities between all unique pairs of
a given set of terms. Terms not found in the ontology get
NaN.
Arguments
- terms
String vector. The terms you wish to calculate the similarities for.
- 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.