Learn R Programming

hpoPlot (version 2.2)

remove.uninformative.terms: Get a minimal set of terms which can be used to partition a set of phenotypes

Description

Get a minimal set of terms which can be used to partition a set of phenotypes

Usage

remove.uninformative.terms(hpo.terms, hpo.phenotypes)

Arguments

hpo.terms
R-Object representation of HPO
hpo.phenotypes
List of HPO term character vectors

Value

  • Character vector of set of terms, excluding terms for which the presence of their descendants all partition the set of terms in the same way

Examples

Run this code
data(hpo.terms)
remove.uninformative.terms(hpo.terms, list(Patient1=c("HP:0001873")))

Run the code above in your browser using DataLab