# Get logical descendancy matrix for set of terms

### 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 |

`cols` |
Cols for resultant matrix (defaults to |

### 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"))
``` |