plain_theme {RNAdecay}R Documentation

a custom ggplot2 theme

Description

A custom ggplot2 theme generating function for ggplot2 plots; can be further manipulated using standard ggplot2 syntax.

Usage

plain_theme(bigFont = 30, smFont = 0.85, x.ang = 0, leg.pos = c(0.85,
  0.85))

Arguments

bigFont

larger font size of axis labels in points (used for plot title, axis titles, facet titles)

smFont

fractional mulitiplier of bigFont (used for axis text)

x.ang

x-axis label angle

leg.pos

legend position on plot as relative coordinates c(x,y) (i.e., range is [0,1]) or 'right', 'left', 'above', 'below'

Value

returns a ggplot2 theme of class "theme" "gg"

Examples

plain_theme(10)

[Package RNAdecay version 1.0.2 Index]