plot_tissue_enrichment: plot tissue enrichment

View source: R/plot_tissue_enrichment.R

plot_tissue_enrichmentR Documentation

plot tissue enrichment

Description

constructs a bar chart using ggplot to plot tissue enrichment.

Usage

plot_tissue_enrichment(
  data,
  col.tissue,
  col.value,
  xlab = "tissue",
  ylab = "Hypergeometric P-value",
  pvalue.line = NULL
)

Arguments

data

a data.frame

col.tissue

string. Column containing tissue names.

col.value

string. Column containing pvalue, FDR, enrichment for plotting.

xlab

x label

ylab

y label

pvalue.line

pvalue threshold to be displayed via a horisontal line.

See Also

Other ggplot: theme_genoppi_bar(), theme_scatter(), theme_volcano_custom(), theme_volcano()


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.