View source: R/plot_frequency_bar.R
plot_frequency_bar | R Documentation |
Plot the frequency of gene-phenotype and phenotype-disease associations.
plot_frequency_bar(
results = load_example_results(),
phenotype_to_genes = HPOExplorer::load_phenotype_to_genes(),
allow.cartesian = TRUE,
show_plot = FALSE,
verbose = TRUE
)
results |
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results |
phenotype_to_genes |
Output of load_phenotype_to_genes mapping phenotypes to gene annotations. |
allow.cartesian |
See |
show_plot |
Print the plot after it's been generated. |
verbose |
Print messages. |
ggplot object
results <- load_example_results()[seq(2500),]
fp_res <- plot_frequency_bar(results=results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.