Learn R Programming

hpoPlot (version 2.2)

get.term.descendancy.matrix: Get logical descendancy matrix for set of terms

Description

Get logical descendancy matrix for set of terms

Usage

get.term.descendancy.matrix(hpo.terms, terms)

Arguments

hpo.terms
R-Object representation of HPO
terms
Character vector of HPO terms

Value

  • A logical descendancy matrix of terms by terms based on DAG structure of HPO, where by the row term is an ancestor of the column term if result[row.term,col.term] == TRUE

Examples

Run this code
data(hpo.terms)
get.term.descendancy.matrix(hpo.terms, c("HP:0001873", "HP:0011877"))

Run the code above in your browser using DataLab