plot_annotation_results: Plot the result of the annotation enrichment analysis

View source: R/pannot.R

plot_annotation_resultsR Documentation

Plot the result of the annotation enrichment analysis

Description

Plot the result of the annotation enrichment analysis

Usage

plot_annotation_results(
  df,
  method_adjust_p_val = "fdr",
  fold_change_limits = c(1, 4),
  save_file = NULL,
  filter = FALSE,
  type = "seq",
  flip = FALSE,
  angle = 90,
  font_size = 10,
  trans = NULL,
  scale_factor_width = 1,
  scale_factor_height = 1,
  ...
)

Arguments

df

a formatted data.frame obtained by the function annotation_enrichment_analysis()

method_adjust_p_val

name of the p-value variable. Possible choices : "none","fdr" or "bonferroni". By default : "fdr".

fold_change_limits

limits for fold-change scale. By default : c(1,4).

save_file

path where the plot will be saved

filter

Apply filtering to annotation results (using filter_annotation_results())

type

Palette type (one of seq (sequential), div (diverging))

flip

flip x-y coordinates

angle

angle of x tick labels

font_size

font size

trans

trans object applied to fill scale

scale_factor_width

factor to adjust plot width

scale_factor_height

factor to adjust plot height

...

parameters passed to function filter_annotation_results()

Value

a plot


VoisinneG/pannot documentation built on July 5, 2023, 4:19 p.m.