View source: R/get_top_phenos.R
get_top_phenos | R Documentation |
Get the most severe phenotypes per severity class: Profound, Severe, Moderate, Mild. The exception to this is the "Mild" class, where the least severe phenotypes will be taken instead of the most severe phenotypes.
get_top_phenos(
res_class = gpt_annot_class(),
keep_ont_levels = seq(3, 17),
keep_descendants = "Phenotypic abnormality",
n_per_class = 10,
annotation_order = NULL,
split_by_congenital = TRUE
)
res_class |
Output of the gpt_annot_class function. |
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 |
n_per_class |
Number of phenotypes per severity class to include. |
annotation_order |
The order of the annotations to include. |
split_by_congenital |
Split the phenotypes by congenital onset (congenital = always/often, noncongenital = never/rarely). |
top_phenos <- get_top_phenos()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.