plot_gostats_pval: Make a pvalue plot similar to that from clusterprofiler from...

View source: R/ontology_plots.R

plot_gostats_pvalR Documentation

Make a pvalue plot similar to that from clusterprofiler from gostats data.

Description

clusterprofiler provides beautiful plots describing significantly overrepresented categories. This function attempts to expand the repetoire of data available to them to include data from gostats. The pval_plot function upon which this is based now has a bunch of new helpers now that I understand how the ontology trees work better, this should take advantage of that, but currently does not.

Usage

plot_gostats_pval(
  gs_result,
  wrapped_width = 20,
  cutoff = 0.1,
  n = 30,
  group_minsize = 5
)

Arguments

gs_result

Ontology search results.

wrapped_width

Make the text large enough to read.

cutoff

What is the maximum pvalue allowed?

n

How many groups to include in the plot?

group_minsize

Minimum group size before inclusion.

Value

Plots!

See Also

[ggplot2]


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.