View source: R/gpt_annot_plot.R
gpt_annot_plot | R Documentation |
Plot annotations from GPT.
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
)
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 |
top_n |
Top number of most severe phenotypes to plot in heatmap. |
width |
Max facet label width. |
verbose |
Print messages. |
Named list of plots.
plots <- gpt_annot_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.