get_gene_list: Get gene list

Description Usage Arguments Value

View source: R/get_gene_list.R

Description

This function returns a vector of genes associated with a particular phenotype. It uses the phenotype_to_genes.txt file from the hpo.

Usage

1
get_gene_list(phenotype, phenotype_to_genes)

Arguments

phenotype

A phenotype (name) from the HPO (e.g. "Phenotypic abnormality") <string>

phenotype_to_genes

The phenotype_to_genes.txt file from HPO that contains gene annotations for HPO phenotypes.

Value

a character vector of genes associated with the selected phenotype.


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