View source: R/calcSemanticSimilarity.R
weightedBMA | R Documentation |
Incorporation of weights into the computation of semantic similarity
weightedBMA(
o,
ic,
set1,
set2,
weights1 = rep(1, length(set1)),
weights2 = rep(1, length(set2))
)
o |
ontology. An object of class |
ic |
information content. Typically obtained via
|
set1 |
character. First term set. |
set2 |
character. Secound term set. |
weights1 |
numeric. Weights for each term of the first term set, ie. must
be parallel to |
weights2 |
numeric. Weights for each term of the second term set, ie. must
be parallel to |
a numeric value expressing semantic similarity between the two input term sets, weighted by the given individual term weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.