Package: ggpubr 0.6.0.999

ggpubr: 'ggplot2' Based Publication Ready Plots

The 'ggplot2' package is excellent and flexible for elegant data visualization in R. However the default generated plots requires some formatting before we can send them for publication. Furthermore, to customize a 'ggplot', the syntax is opaque and this raises the level of difficulty for researchers with no advanced R programming skills. 'ggpubr' provides some easy-to-use functions for creating and customizing 'ggplot2'- based publication ready plots.

Authors:Alboukadel Kassambara [aut, cre]

ggpubr_0.6.0.999.tar.gz
ggpubr_0.6.0.999.zip(r-4.5)ggpubr_0.6.0.999.zip(r-4.4)ggpubr_0.6.0.999.zip(r-4.3)
ggpubr_0.6.0.999.tgz(r-4.4-any)ggpubr_0.6.0.999.tgz(r-4.3-any)
ggpubr_0.6.0.999.tar.gz(r-4.5-noble)ggpubr_0.6.0.999.tar.gz(r-4.4-noble)
ggpubr_0.6.0.999.tgz(r-4.4-emscripten)ggpubr_0.6.0.999.tgz(r-4.3-emscripten)
ggpubr.pdf |ggpubr.html
ggpubr/json (API)
NEWS

# Install 'ggpubr' in R:
install.packages('ggpubr', repos = c('https://kassambara.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kassambara/ggpubr/issues

Datasets:

On CRAN:

16.60 score 1.1k stars 385 packages 61k scripts 201k downloads 856 mentions 122 exports 67 dependencies

Last updated 2 years agofrom:6aeb4f7013. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winNOTENov 04 2024
R-4.5-linuxNOTENov 04 2024
R-4.4-winOKNov 04 2024
R-4.4-macOKNov 04 2024
R-4.3-winOKNov 04 2024
R-4.3-macOKNov 04 2024

Exports:%>%add_summaryannotate_figureas_ggplotas_npcas_npcxas_npcybackground_imagebgcolorborderchange_paletteclean_table_themeclean_themecolnames_stylecolor_palettecompare_meanscreate_aesdesc_statbyfacetfill_palettefontgeom_bracketgeom_execgeom_pwcgeom_signifget_breaksget_coordget_legendget_paletteget_summary_statsggaddggadjust_pvalueggarrangeggballoonplotggbarplotggboxplotggdensityggdonutchartggdotchartggdotplotggecdfggerrorplotggexportgghistogramgglineggmaplotggpairedggparggparagraphggpieggpubr_optionsggqqplotggscatterggscatterhistggstripchartggsummarystatsggsummarytableggtextggtexttableggviolingradient_colorgradient_fillgridsgroup_bylabs_pubrmean_cimean_rangemean_sdmean_se_median_hilow_median_iqrmedian_madmedian_q1q3median_rangemutatenpc_to_data_coordrotaterotate_x_textrotate_y_textrownames_stylerremoveset_paletteshow_line_typesshow_point_shapesstat_anova_teststat_bracketstat_central_tendencystat_chullstat_compare_meansstat_conf_ellipsestat_corstat_friedman_teststat_kruskal_teststat_meanstat_overlay_normal_densitystat_pvalue_manualstat_pwcstat_regline_equationstat_starsstat_welch_anova_testtab_add_bordertab_add_footnotetab_add_hlinetab_add_titletab_add_vlinetab_cell_crossouttab_ncoltab_nrowtable_cell_bgtable_cell_fonttbody_add_bordertbody_styletext_grobthead_add_bordertheme_classic2theme_clevelandtheme_pubcleantheme_pubrtheme_transparenttthemexscaleyscale

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2ggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6RColorBrewerRcppRcppEigenrlangrstatixscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Add Summary Statistics onto a ggplot.add_summary mean_ci mean_range mean_sd mean_se_ median_hilow_ median_iqr median_mad median_q1q3 median_range
Annotate Arranged Figureannotate_figure
Storing grid.arrange() arrangeGrob() and plotsas_ggplot
Convert Character Coordinates into Normalized Parent Coordinates (NPC)as_npc as_npcx as_npcy
Change Axis Scale: log2, log10 and moreaxis_scale xscale yscale
Add Background Image to ggplot2background_image
Change ggplot Panel Background Colorbgcolor
Set ggplot Panel Border Lineborder
Comparison of Meanscompare_means
Create Aes Mapping from a Listcreate_aes
Descriptive statistics by groupsdesc_statby
Differential gene expression analysis resultsdiff_express
Facet a ggplot into Multiple Panelsfacet
Change the Appearance of Titles and Axis Labelsfont
Gene Citation Indexgene_citation
Gene Expression Datagene_expression
Execute ggplot2 functionsgeom_exec
Easy Break Creation for Numeric Axesget_breaks
Checks and Returns Data Coordinates from Multiple Input Optionsget_coord
Extract Legends from a ggplot objectget_legend
Generate Color Palettesget_palette
Add Summary Statistics or a Geom onto a ggplotggadd
Adjust p-values Displayed on a GGPlotggadjust_pvalue
Arrange Multiple ggplotsggarrange
Ballon plotggballoonplot
Bar plotggbarplot
Box plotggboxplot
Density plotggdensity
Donut chartggdonutchart
Cleveland's Dot Plotsggdotchart theme_cleveland
Dot plotggdotplot
Empirical cumulative density functionggecdf
Visualizing Errorggerrorplot
Export ggplotsggexport
Histogram plotgghistogram
Line plotggline
MA-plot from means and log fold changesggmaplot
Plot Paired Dataggpaired
Graphical parametersggpar
Draw a Paragraph of TextdrawDetails.splitText ggparagraph
Pie chartggpie
ggpubr General Arguments Descriptionggpubr_args
Global Options for GGPubrggpubr_options
QQ Plotsggqqplot
Scatter plotggscatter
Scatter Plot with Marginal Histogramsggscatterhist print.ggscatterhist
Stripchartsggstripchart
GGPLOT with Summary Stats Table Under the Plotggsummarystats ggsummarytable print.ggsummarystats print.ggsummarystats_list
Textggtext
Draw a Textual Tablecolnames_style ggtexttable rownames_style table_cell_bg table_cell_font tab_add_border tab_add_footnote tab_add_hline tab_add_title tab_add_vline tab_cell_crossout tab_ncol tab_nrow tbody_add_border tbody_style thead_add_border ttheme
Violin plotggviolin
Set Gradient Colorgradient_color gradient_fill
Add Grids to a ggplotgrids
Convert NPC to Data Coordinatesnpc_to_data_coord
Rotate a ggplot Horizontallyrotate
Rotate Axes Textrotate_axis_text rotate_x_text rotate_y_text
Remove a ggplot Componentrremove
Set Color Palettechange_palette color_palette fill_palette set_palette
Line types available in Rshow_line_types
Point shapes available in Rshow_point_shapes
Add Anova Test P-values to a GGPlotstat_anova_test
Add Brackets with Labels to a GGPlotgeom_bracket stat_bracket
Add Central Tendency Measures to a GGPLotstat_central_tendency
Plot convex hull of a set of pointsstat_chull
Add Mean Comparison P-values to a ggplotstat_compare_means
Plot confidence ellipses.stat_conf_ellipse
Add Correlation Coefficients with P-values to a Scatter Plotstat_cor
Add Friedman Test P-values to a GGPlotstat_friedman_test
Add Kruskal-Wallis Test P-values to a GGPlotstat_kruskal_test
Draw group mean pointsstat_mean
Overlay Normal Density Plotstat_overlay_normal_density
Add Manually P-values to a ggplotstat_pvalue_manual
Add Pairwise Comparisons P-values to a GGPlotgeom_pwc stat_pwc
Add Regression Line Equation and R-Square to a GGPLOT.stat_regline_equation
Add Stars to a Scatter Plotstat_stars
Add Welch One-Way ANOVA Test P-values to a GGPlotstat_welch_anova_test
Create a Text Graphical objecttext_grob
Publication ready themeclean_table_theme clean_theme labs_pubr theme_classic2 theme_pubclean theme_pubr
Create a ggplot with Transparent Backgroundtheme_transparent