Plot One Variable - X, Continuous

Visualize distributions.

ggdensity()

Density plot

stat_overlay_normal_density()

Overlay Normal Density Plot

gghistogram()

Histogram plot

ggecdf()

Empirical cumulative density function

ggqqplot()

QQ Plots

Plot Two Vriables - X and Y, Discrete X and Continuous Y

Visualize data distributions by groups.

ggboxplot()

Box plot

ggviolin()

Violin plot

ggdotplot()

Dot plot

ggstripchart()

Stripcharts

ggbarplot()

Bar plot

ggline()

Line plot

ggerrorplot()

Visualizing Error

ggpie()

Pie chart

ggdonutchart()

Donut chart

ggdotchart() theme_cleveland()

Cleveland's Dot Plots

ggsummarytable() ggsummarystats() print(<ggsummarystats>) print(<ggsummarystats_list>)

GGPLOT with Summary Stats Table Under the Plot

Plot Two Continuous Variables

Scatter plots

ggscatter()

Scatter plot

stat_cor()

Add Correlation Coefficients with P-values to a Scatter Plot

stat_regline_equation()

Add Regression Line Equation and R-Square to a GGPLOT.

stat_stars()

Add Stars to a Scatter Plot

ggscatterhist() print(<ggscatterhist>)

Scatter Plot with Marginal Histograms

Plot Paired Data

Paired data

ggpaired()

Plot Paired Data

Comparing Means and Adding p-values

compare_means()

Comparison of Means

stat_compare_means()

Add Mean Comparison P-values to a ggplot

stat_pvalue_manual()

Add Manually P-values to a ggplot

stat_anova_test()

Add Anova Test P-values to a GGPlot

stat_kruskal_test()

Add Kruskal-Wallis Test P-values to a GGPlot

stat_welch_anova_test()

Add Welch One-Way ANOVA Test P-values to a GGPlot

stat_friedman_test()

Add Friedman Test P-values to a GGPlot

stat_pwc() geom_pwc()

Add Pairwise Comparisons P-values to a GGPlot

stat_bracket() geom_bracket()

Add Brackets with Labels to a GGPlot

ggadjust_pvalue()

Adjust p-values Displayed on a GGPlot

Plot Tables and Paragraphs

ggtexttable() ttheme() colnames_style() rownames_style() tbody_style() table_cell_font() table_cell_bg() tab_cell_crossout() tab_ncol() tab_nrow() tab_add_hline() tab_add_vline() tab_add_border() tbody_add_border() thead_add_border() tab_add_title() tab_add_footnote()

Draw a Textual Table

ggparagraph() drawDetails(<splitText>)

Draw a Paragraph of Text

text_grob()

Create a Text Graphical object

Contingency table

ggballoonplot()

Ballon plot

Genomics

Plotting data obtained from genomic data analyses.

ggmaplot()

MA-plot from means and log fold changes

Themes

theme_pubr() theme_pubclean() labs_pubr() theme_classic2() clean_theme() clean_table_theme()

Publication ready theme

theme_transparent()

Create a ggplot with Transparent Background

Graphical Parameters

Change graphical parameters such as, titles, legend, colors, axis limits, scale transformation (log, sqrt), axis ticks and plot orientation (vertical, horizontal).

ggpar()

Graphical parameters

show_line_types()

Line types available in R

show_point_shapes()

Point shapes available in R

font()

Change the Appearance of Titles and Axis Labels

rotate()

Rotate a ggplot Horizontally

rotate_x_text() rotate_y_text()

Rotate Axes Text

set_palette() change_palette() color_palette() fill_palette()

Set Color Palette

gradient_color() gradient_fill()

Set Gradient Color

border()

Set ggplot Panel Border Line

bgcolor()

Change ggplot Panel Background Color

rremove()

Remove a ggplot Component

grids()

Add Grids to a ggplot

xscale() yscale()

Change Axis Scale: log2, log10 and more

get_breaks()

Easy Break Creation for Numeric Axes

get_legend()

Extract Legends from a ggplot object

Arrange and Export Multiple ggplots

ggarrange()

Arrange Multiple ggplots

ggexport()

Export ggplots

annotate_figure()

Annotate Arranged Figure

background_image()

Add Background Image to ggplot2

Make Programming Easy with GGPlot2

geom_exec()

Execute ggplot2 functions

create_aes()

Create Aes Mapping from a List

Coordinates

as_npc() as_npcx() as_npcy()

Convert Character Coordinates into Normalized Parent Coordinates (NPC)

npc_to_data_coord()

Convert NPC to Data Coordinates

get_coord()

Checks and Returns Data Coordinates from Multiple Input Options

Helpers

facet()

Facet a ggplot into Multiple Panels

add_summary() mean_se_() mean_sd() mean_ci() mean_range() median_iqr() median_hilow_() median_q1q3() median_mad() median_range()

Add Summary Statistics onto a ggplot.

ggadd()

Add Summary Statistics or a Geom onto a ggplot

get_palette()

Generate Color Palettes

as_ggplot()

Storing grid.arrange() arrangeGrob() and plots

ggtext()

Text

ggpubr_options()

Global Options for GGPubr

ggpubr_args

ggpubr General Arguments Description

Data

diff_express

Differential gene expression analysis results

gene_citation

Gene Citation Index

gene_expression

Gene Expression Data

Others

desc_statby()

Descriptive statistics by groups

stat_chull()

Plot convex hull of a set of points

stat_conf_ellipse()

Plot confidence ellipses.

stat_mean()

Draw group mean points

stat_central_tendency()

Add Central Tendency Measures to a GGPLot

reexports mutate group_by get_summary_stats

Objects exported from other packages