Last chance! 50% off unlimited learning
Sale ends in
Get information content of each term in a set of phenotypes
get_term_info_content(ontology, term_sets, patch_missing = FALSE)
Numeric vector of information contents, named by corresponding terms. Takes into account ancestors, in the sense that all ancestor terms implied by the phenotypes are considered 'on'
ontology_index
object.
List of character vectors of ontological term IDs.
Logical indicating whether to include all ontology terms even if they're not present in the term_sets
as if they had occurred once
data(hpo)
get_term_info_content(hpo, list("HP:0001873"))
Run the code above in your browser using DataLab