Description Usage Arguments Value Examples

Get a matrix with columns of hpo terms and rows of patients,

1 | ```
get.case.term.matrix(hpo.phenotypes, columns = NULL)
``` |

`hpo.phenotypes` |
List of character vectors of HPO terms. Result includes only terms which are explicitly present in the list items, so if you wish the result to include even terms which are implicitly present, lapply |

`columns` |
Force result to have these exact columns, entering F for terms which aren't present |

Logical matrix - entry for a patient/hpo term = T if the patient has the term and F otherwise.

1 | ```
get.case.term.matrix(list(Patient1=c("HP:0001873")))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.