ggpubr: Create Easily Publication Ready Plots

[This article was first published on Easy Guides, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The ggpubr R package facilitates the creation of beautiful ggplot2-based graphs for researcher with non-advanced programming backgrounds.

The current material presents a collection of articles for simply creating and customizing publication-ready plots using ggpubr. To see some examples of plots created with ggpubr click the following link: ggpubr examples.

ggpubr Key features:

  • Wrapper around the ggplot2 package with a less opaque syntax for beginners in R programming.
  • Helps researchers, with non-advanced R programming skills, to create easily publication-ready plots.
  • Makes it possible to automatically add p-values and significance levels to box plots, bar plots, line plots, and more.
  • Makes it easy to arrange and annotate multiple plots on the same page.
  • Makes it easy to change grahical parameters such as colors and labels.

Official online documentation: http://www.sthda.com/english/rpkgs/ggpubr.

ggpubr: publication ready plots

Install and load ggpubr

  • Install from CRAN as follow:
install.packages("ggpubr")
  • Or, install the latest version from GitHub as follow:
# Install
if(!require(devtools)) install.packages("devtools")
devtools::install_github("kassambara/ggpubr")
  • Load ggpubr:
library("ggpubr")

To leave a comment for the author, please follow the link and comment on their blog: Easy Guides.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)