theme_hodgeslab_basic: Basic ggplot2 theme for the Hodges lab

Description Usage Arguments Examples

View source: R/theme_hodgeslab_basic.R

Description

This function defines the basic theme for plots coming from the Hodges lab.

Usage

1
2
3
4
5
6
7
8
theme_hodgeslab_basic(
  base_size = 7,
  base_family = "",
  line_size = 0.25,
  grid = F,
  rotx = 0,
  box = F
)

Arguments

base_size

Sets the Postscript font size for all labels, in units of pt. Defaults to 7.

base_family

Sets the Postscript font family for all labels. Defaults to empty "".

line_size

Sets the line width for lines used in plots, in units of pt. Defaults to 0.5.

Examples

1
ggplot(df,aes(x=x,y=y)) + geom_point() + theme_hodgeslab_basic()

hodgeslab/hodgeslabR documentation built on Aug. 6, 2021, 5:10 a.m.