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

Description Usage Arguments Value Examples

View source: R/sets.R

Description

Get logical descendancy matrix for set of terms

Usage

1
2

Arguments

hpo.terms

R-Object representation of HPO

terms

Character vector of HPO terms

rows

Rows for resultant matrix (defaults to terms)

cols

Cols for resultant matrix (defaults to 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

1
2
data(hpo.terms)
get.term.descendancy.matrix(hpo.terms, c("HP:0001873", "HP:0011877"))

hpoPlot documentation built on May 29, 2017, 6:43 p.m.

Search within the hpoPlot package
Search all R packages, documentation and source code