Skip to content

First ggExpressDev release

Compare
Choose a tag to compare
@vertesy vertesy released this 31 Oct 13:50
· 218 commits to main since this release

ggExpress

ggExpress is the fastest way to create, annotate and export plots in R.

image

Current main functions

  • qhistogram()

  • qdensity()

  • qbarplot()

  • qpie()

  • qscatter()

Usage

require(ggpubr)
require(cowplot)
require(MarkdownReports) # https://github.com/vertesy/MarkdownReportsDev

source("https://raw.githubusercontent.com/vertesy/ggExpressDev/main/ggExpress.functions.R")


weight <- rnorm(1000); 
qhistogram(weight, vline = 3)
qdensity(weight)

weight3 <- runif (12)
qbarplot(weight3)

xvec <- c("A"=12, "B"=29)
qpie(vec = xvec)


dfx <- as.data.frame(cbind("AA"=rnorm(12), "BB"=rnorm(12)))
qscatter(dfx, suffix = "2D.gaussian")

Output

Saved as pdf by default.