plot_gprofiler_pval: Make a pvalue plot from gprofiler data.

View source: R/ontology_plots.R

plot_gprofiler_pvalR Documentation

Make a pvalue plot from gprofiler data.

Description

The p-value plots from clusterProfiler are pretty, this sets the gprofiler data into a format suitable for plotting in that fashion and returns the resulting plots of significant ontologies.

Usage

plot_gprofiler_pval(
  gp_result,
  wrapped_width = 30,
  cutoff = 0.1,
  n = 30,
  group_minsize = 5,
  scorer = "recall",
  ...
)

Arguments

gp_result

Some data from gProfiler.

wrapped_width

Maximum width of the text names.

cutoff

P-value cutoff for the plots.

n

Maximum number of ontologies to include.

group_minsize

Minimum ontology group size to include.

scorer

Which column to use for scoring the data.

...

Options I might pass from other functions are dropped into arglist.

Value

List of MF/BP/CC pvalue plots.

See Also

[ggplot2]


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