theme_volcano_custom: volcano theme complex

View source: R/theme_genoppi.R

theme_volcano_customR Documentation

volcano theme complex

Description

Sets up custom bolcano plot theme.

Usage

theme_volcano_custom(
  p,
  tick_sz_x = -0.15,
  tick_sz_y = NULL,
  normalize_tick_sz = T,
  axes_width = 0.5,
  ticks_width = 0.7,
  ticks_labs_cex = 4,
  ticks_labs_x_vjust = 2,
  ticks_labs_y_hjust = 2,
  lab_cex = 2,
  xlab_vjust = 0.6,
  xlab_hjust = 0.38,
  ylab_vjust = 1.5,
  ylab_hjust = 0,
  font_family = "Helvetica",
  grid_lines = F,
  xlab = NULL,
  ylab = NULL
)

Arguments

p

the ggplot to be converted

tick_sz_x

Tick-size.

tick_sz_y

tick size.

normalize_tick_sz

Boolean. If TRUE, the tick_sz_y will be normalized according to argument tick_sz_x.

axes_width

the width of the x and y-axis.

ticks_width

the width of the ticks.

ticks_labs_cex

the character expansion factor of tick labels.

ticks_labs_x_vjust

Vertical adjustment of tick labels on x axis.

ticks_labs_y_hjust

Horizontal adjustment of tick labels on y axis.

lab_cex

numeric. Character expansion factor for labels.

xlab_vjust

Vertical adjustment on label on x-axis.

xlab_hjust

Horizontal adjustment on label on x-axis.

ylab_vjust

Vertical adjustment on label on y-axis.

ylab_hjust

Horizontal adjustment on label on y-axis.

font_family

string for the font family.

grid_lines

Boolean. Draw grid lines?

xlab

String. alternative x label.

ylab

String. alternative y label.

See Also

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


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