get_hpo_termID: Get HPO Id from phenotype name.

Description Usage Arguments Value

View source: R/get_hpo_termID.R View source: R/get_hpo_termID.R

Description

I have done this more efficiently elsewhere using the hpo data object. May be worth replacing, or just add the HPO Id to all datapoints in the results permanently. Alternative method: hpo$id[match(term_name, hpo$name)] This function is called by the add_hpo_termid_col function, which is called by the get_cell_ontology function when selecting a subset of the data and then adding a HPO id column.

I have done this more efficiently elsewhere using the hpo data object. May be worth replacing, or just add the HPO Id to all datapoints in the results permanently. Alternative method: hpo$id[match(term_name, hpo$name)] This function is called by the add_hpo_termid_col function, which is called by the get_cell_ontology function when selecting a subset of the data and then adding a HPO id column.

Usage

1
2
3
get_hpo_termID(phenotype, phenotype_to_genes)

get_hpo_termID(phenotype, phenotype_to_genes)

Arguments

phenotype

Phenotype name from the HPO <string>

phenotype_to_genes

The hpo terms with gene list annotations data frame from hpo website

Value

The HPO Id <string>

The HPO Id <string>


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