Plot One Variable - X, Continuous

Visualize distributions.

ggdensity()

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

Plot Two Continuous Variables

Scatter plots

ggscatter()

Scatter plot

stat_cor()

Add Correlation Coefficients with P-values to a Scatter Plot

stat_stars()

Add Stars to a Scatter Plot

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

Plot Tables and Paragraphs

ggtexttable() ttheme() colnames_style() rownames_style() tbody_style() table_cell_font() table_cell_bg()

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()

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_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

Helpers

facet()

Facet a ggplot into Multiple Panels

add_summary() mean_se_() mean_sd() mean_ci() mean_range() median_iqr() 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

Data

diff_express

Differential gene expression analysis results

gene_citation

Gene Citation Index

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

reexports

Objects exported from other packages