plot_frequency_histogram: Gene and phenotype frequencies histogram

View source: R/plot_frequency_histogram.R

plot_frequency_histogramR Documentation

Gene and phenotype frequencies histogram

Description

Plot the frequency of gene-phenotype and phenotype-disease associations.

Usage

plot_frequency_histogram(
  results = load_example_results(),
  phenotype_to_genes = HPOExplorer::load_phenotype_to_genes(),
  show_plot = FALSE,
  verbose = TRUE
)

Arguments

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.

show_plot

Print the plot after it's been generated.

verbose

Print messages.

Value

ggplot object

Examples

results <- load_example_results()[seq(500),]
fp_res <- plot_frequency_histogram(results=results)

neurogenomics/MultiEWCE documentation built on Sept. 28, 2024, 2:27 a.m.