theme_ptca: A ggplot2 theme that matches the defaults of the factorial...

View source: R/theme_ptca.R

theme_ptcaR Documentation

A ggplot2 theme that matches the defaults of the factorial figures in PTCA4CATA

Description

theme_ptca A ggplot2 theme that matches the defaults of the factorial figures in PTCA4CATA.

Usage

theme_ptca(mire = TRUE, x0 = 0, y0 = 0)

Arguments

mire

(Default = TRUE) when TRUE plot the factorial axis at values x0 and y0.

x0

(Default = 0) the X-axis origin. Relevant only when mire = TRUE.

y0

(Default = 0) the Y-axis origin. Relevant only when mire = TRUE.

Author(s)

Vincent Guillemot

Examples

## Not run: 
x = c(5, 8, 1, 70)
y = c(10, 12, 20, 50)
truc <-  ggplot(as.data.frame(cbind(x,y)),
                 aes(x = x, y = y)) +
                    geom_point(size=2, shape=19) + theme_ptca()

## End(Not run)

HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.