gpt_annot_plot: Plot annotations from GPT

View source: R/gpt_annot_plot.R

gpt_annot_plotR Documentation

Plot annotations from GPT

Description

Plot annotations from GPT.

Usage

gpt_annot_plot(
  annot = gpt_annot_read(),
  hpo = get_hpo(),
  keep_ont_levels = seq(3, 17),
  keep_descendants = "Phenotypic abnormality",
  top_n = 50,
  width = 80,
  verbose = TRUE
)

Arguments

annot

GPT-generated phenotype annotations.

hpo

Human Phenotype Ontology object, loaded from get_ontology.

keep_ont_levels

Only keep phenotypes at certain absolute ontology levels to keep. See add_ont_lvl for details.

keep_descendants

Terms whose descendants should be kept (including themselves). Set to NULL (default) to skip this filtering step.

top_n

Top number of most severe phenotypes to plot in heatmap.

width

Max facet label width.

verbose

Print messages.

Value

Named list of plots.

Examples

plots <- gpt_annot_plot()

neurogenomics/HPOExplorer documentation built on Aug. 24, 2024, 1:39 a.m.