get_hpo_termID_direct: Get HPO term ID direct

Description Usage Arguments Details Value

View source: R/get_hpo_termID_direct.R

Description

This is similar to the get_hpo_germID function except it does not take the ID from the phenotype_to_genes dataframe. It directly gets it from the HPO ontology object (found in the ontologyIndex package data(hpo)). This allows you to get the ID of terms that do not have gene annotations.

Usage

1
get_hpo_termID_direct(hpo, phenotype = "Phenotypic abnormality")

Arguments

hpo

The HPO object from ontologyIndex package <list>

phenotype

The phenotype of interest <string>

Details

Why not always use this? I have found that occasionally it doesnt work. Also, it requires you to load the full hpo object to get an ID, which is wasteful if you are only using the gene annotations.

Value

The HPO ID of phenotype <string>


ovrhuman/HPOExplorer documentation built on Dec. 22, 2021, 5:21 a.m.