| sample_group_sim_from_ontology {ontologySimilarity} | R Documentation | 
Draw sample of group similarities
Description
ample of group similarities for random groups of given drawn from the given ontology argument
Usage
sample_group_sim_from_ontology(
  ontology,
  term_sets,
  information_content = descendants_IC(ontology),
  term_sim_method = "lin",
  combine = "average",
  ...
)
Arguments
| ontology | 
 | 
| term_sets | List of character vectors of ontological term IDs. | 
| information_content | Numeric vector of information contents of terms (named by term) | 
| term_sim_method | Character string equalling either "lin" or "resnik" to use Lin or Resnik's expression for the similarity of terms. | 
| combine | Character string - either "average" or "product", indicating whether to use the best-match-product' method, or function accepting two arguments - the first, the similarity matrix obtained by averaging across term sets in  | 
| ... | Other arguments to be passed to  | 
Value
Numeric vector of group similarities.
See Also
sample_group_sim create_sim_index
[Package ontologySimilarity version 2.7 Index]