plain_theme: a custom ggplot2 theme

Description Usage Arguments Value Examples

View source: R/plain_theme.R

Description

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

Usage

1
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

1

RNAdecay documentation built on Nov. 8, 2020, 5:52 p.m.