plot_report | R Documentation |
Plot the results of a filtering report generated by prioritise_targets.
plot_report(
rep_dt,
results,
phenotype_to_genes = HPOExplorer::load_phenotype_to_genes(1),
annot = HPOExplorer::load_phenotype_to_genes(3),
remove_cols = c("Rows", "Rows_diff", "ids"),
label.size = 0.25,
show_plot = TRUE,
add_tiers = TRUE,
save_path = tempfile(fileext = "_plot_report.pdf"),
verbose = TRUE,
...
)
rep_dt |
Report table. |
results |
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results |
phenotype_to_genes |
Phenotype to gene mapping from load_phenotype_to_genes. |
annot |
HPO annotations. |
remove_cols |
Columns to remove from |
label.size |
Size of label border, in mm. |
show_plot |
Print the plot to the console. |
add_tiers |
Add severity tiers subplot. |
save_path |
Save the plot to a file.
Set to |
verbose |
Print messages. |
... |
Arguments passed on to
|
ggplot object
results <- load_example_results()
rep_dt <- example_targets$report
gp <- plot_report(rep_dt=rep_dt, results=results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.