theme_cor: Create the default ggcor theme

Description Usage Arguments Details Value Author(s) Examples

View source: R/theme-cor.R

Description

Create the default ggcor theme

Usage

1
2
3
4
5
theme_cor(legend.position = "right", ...)

theme_anno()

theme_anno2()

Arguments

legend.position

the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector).

...

extra params passing to theme.

Details

The theme_cor, with no axis title, no background, no grid, made some adjustments to the x-axis label.

Value

The theme.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2
3
require(ggplot2, quietly = TRUE)
df <- fortify_cor(mtcars)
ggcor(df) + geom_raster(aes(fill = r)) + theme_cor()

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.