Description Usage Arguments Value Author(s) Examples
Given the output of fun_enrich
, generates a bar plot of the -log10 of
the p-values for one or all analysed aspects.
1 2 | plot_fun_enrich(enr, aspect = "ALL", benjamini = FALSE, top = 5,
char_per_line = 80)
|
enr |
listr; The list of data frames resulting from |
aspect |
character; One of ALL, BP, CC, MF or REACTOME. |
benjamini |
logical; If TRUE, plot corrected p-values. |
top |
integer; The number of top enriched terms to consider. |
char_per_line |
integer; Controls the number of characters per line for the term names in the plots. |
A ggplot object.
Gregorio Alanis-Lobato galanisl@uni-mainz.de
1 2 3 4 5 6 7 | # Use the included lists of disease genes and genes associated with metabolic
# disorders as background and genes of interest, respectively
analysis <- fun_enrich(gene.list = metabolic, background = disease.genes,
id.type = "ENTREZID", benjamini = TRUE)
# Plot the
vis <- plot_fun_enrich(enr = analysis, aspect = "ALL", benjamini = TRUE,
top = 5, char_per_line = 80)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.