theme_msstats: Theme for MSstats plots

View source: R/utils_plots_common.R

theme_msstatsR Documentation

Theme for MSstats plots

Description

Theme for MSstats plots

Usage

theme_msstats(
  type,
  x.axis.size = 10,
  y.axis.size = 10,
  legend_size = 13,
  strip_background = element_rect(fill = "gray95"),
  strip_text_x = element_text(colour = c("black"), size = 14),
  legend_position = "top",
  legend_box = "vertical",
  text_angle = 0,
  text_hjust = NULL,
  text_vjust = NULL,
  ...
)

Arguments

type

type of a plot

x.axis.size

size of text on the x axis

y.axis.size

size of text on the y axis

legend_size

size of the legend

strip_background

background of facet

strip_text_x

size of text on facets

legend_position

position of the legend

legend_box

legend.box

text_angle

angle of text on the x axis (for condition and comparison plots)

text_hjust

hjust parameter for x axis text (for condition and comparison plots)

text_vjust

vjust parameter for x axis text (for condition and comparison plots)

...

additional parameters passed on to ggplot2::theme()


Vitek-Lab/MSstats documentation built on Nov. 4, 2024, 3:08 p.m.