plotly_tissue_enrichment: plot tissue enrichment

View source: R/plot_tissue_enrichment.R

plotly_tissue_enrichmentR Documentation

plot tissue enrichment

Description

constructs a bar chart using ggplot to plot tissue enrichment.

Usage

plotly_tissue_enrichment(
  data,
  col.tissue,
  col.value,
  col.value.text = NULL,
  pvalue.line = NULL,
  xlab = "",
  ylab = "",
  title = "",
  xlim = NULL,
  color.significant = "red",
  color.other = "orange",
  col.value.order = NULL
)

Arguments

data

a data.frame

col.tissue

string. Column containing tissue names.

col.value

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

col.value.text

string. Column containing text that should be displayed when hovering over bar.

pvalue.line

p-value horizontal line.

xlab

string. x label.

ylab

string. y label.

title

string. title of plot.

xlim

vector of length 2.

color.significant

color of significant values. default is red.

color.other

color of non-signfificant values. Default is orange.

col.value.order

string that is either 'increasing' or 'decreasing'. Orders barplot accordingly.

See Also

Other plotly: add_plotly_layout_scatter(), add_plotly_layout_volcano(), add_plotly_line_unity(), add_plotly_threshold_lines(), add_plotly_trace()


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