barplot_pwys: Make barplots for the p-Values of Pathway Analysis

View source: R/barplot_pwys.R

barplot_pwysR Documentation

Make barplots for the p-Values of Pathway Analysis

Description

Make barplots for the p-Values of pathway analysis using ggplot2.

Usage

barplot_pwys(
  tab,
  prefix.v = NULL,
  name = NA,
  width = 10,
  height = 4,
  ntop = 20,
  direction = c("Up", "Down"),
  pwys_nm_size = 100
)

Arguments

tab

Table of output from ezlimma.

prefix.v

A vector of prefixes that prefix .p, .FDR, or .logFC in colnames(tab). These will be the columns that are used in the Venn diagram. If NULL these are inferred from colnames(tab) that end with .p.

name

Name of file to create. Set to NA to plot to screen instead of to file.

width

Manual option for determining the output file width in inches.

height

Manual option for determining the output file height in inches.

ntop

Number of top pathways.

direction

Direction of change.

pwys_nm_size

The maximum number of characters for pathway names. Longer names will be truncated.

Value

Invisibly, the last ggplot object.


jdreyf/ezlimmaplot documentation built on Feb. 8, 2025, 2:25 a.m.