get.term.frequencies: Get frequency of each term in a set of phenotypes

Description Usage Arguments Value See Also Examples

Description

Get frequency of each term in a set of phenotypes

Usage

1
get.term.frequencies(hpo.terms, hpo.phenotypes, patch.missing = FALSE)

Arguments

hpo.terms

R-Object representation of HPO

hpo.phenotypes

List of HPO term character vectors

patch.missing

Logical indicating whether to include all HPO even if they're not present in the hpo.phenotypes as if they had occurred once

Value

Numeric vector of information contents, named by corresponding HPO terms. Takes into account ancestors, in the sense that all ancestor terms implied by the phenotypes are considered 'on'

See Also

get.term.info.content

Examples

1
2

Example output

HP:0000001 HP:0000118 HP:0001871 HP:0001872 HP:0001873 HP:0011873 
         1          1          1          1          1          1 

hpoPlot documentation built on May 2, 2019, 5:52 a.m.