View source: R/prioritise_targets_grid.R
prioritise_targets_grid | R Documentation |
Plot the output of prioritise_targets as a grid.
prioritise_targets_grid(
top_targets,
res_class = HPOExplorer::gpt_annot_class(),
n_per_class = 10,
keep_severity_class = c("profound", "severe"),
keep_physical_malformations = NULL,
species_list = c("Homo sapiens", "Macaca mulatta", "Mus musculus", "Danio rerio",
"Drosophila melanogaster", "Caenorhabditis elegans"),
legend.position = "left",
keep_ont_levels = NULL,
width = 70,
widths1 = c(1, 4),
widths2 = c(1, 0.8),
show_plot = TRUE,
...
)
top_targets |
output of prioritise_targets. |
res_class |
Output of the gpt_annot_class function. |
n_per_class |
Number of phenotypes per severity class to include. |
keep_severity_class |
Phenotypes to keep based on severity classes. |
keep_physical_malformations |
Phenotypes to keep based on physical malformation frequency (0=never, 1=rarely, 2=often, 3=always). |
species_list |
Species to include in orthologous genes grid. |
legend.position |
the default position of legends ("none", "left", "right", "bottom", "top", "inside") |
keep_ont_levels |
Only keep phenotypes at certain absolute ontology levels to keep. See add_ont_lvl for details. |
width |
Width of the saved plot. |
widths1 |
Proportional widths of severity annotation heatmap (left subplot) and the top targets/orthologous genes grid (right subplot). |
widths2 |
Proportional widths of the top targets/orthologous genes grid. |
show_plot |
Print the plot to the console. |
... |
Arguments passed on to
|
A named list with data and patchwork object.
top_targets <- MSTExplorer::example_targets$top_targets
out <- prioritise_targets_grid(top_targets = top_targets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.