{
  "name": "ggpubr p-value annotation functions: default test, adjustment and label settings",
  "description": "Compares the five ggpubr functions that put statistical results on a plot or return them as a table: compare_means, stat_compare_means, geom_pwc, stat_kruskal_test and stat_pvalue_manual. Values are the documented default arguments and notes in the ggpubr 1.0.0 reference manual on CRAN, read 2026-11-19.",
  "page": "https://casrai.org/guides/ggpubr",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-20T03:45:23Z",
  "temporalCoverage": "ggpubr 1.0.0, 2026-07-06",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Function",
      "unit": "",
      "description": ""
    },
    {
      "name": "Default test or source of p-values",
      "unit": "",
      "description": ""
    },
    {
      "name": "Default p.adjust.method",
      "unit": "",
      "description": ""
    },
    {
      "name": "Default p.format.style",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented note",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Function": "compare_means()",
      "Default test or source of p-values": "wilcox.test",
      "Default p.adjust.method": "holm",
      "Default p.format.style": "default",
      "Documented note": "Returns a table; id argument pairs observations by subject for paired t.test or wilcox.test"
    },
    {
      "Function": "stat_compare_means()",
      "Default test or source of p-values": "method set by the user (argument default NULL)",
      "Default p.adjust.method": "none argument; with comparisons the displayed p-values are not adjusted",
      "Default p.format.style": "default",
      "Documented note": "paired = FALSE by default; label options p.signif, p.format, p.format.signif"
    },
    {
      "Function": "geom_pwc()",
      "Default test or source of p-values": "wilcox_test",
      "Default p.adjust.method": "holm",
      "Default p.format.style": "default",
      "Documented note": "Pairwise comparison layer; p.adjust.by default is group"
    },
    {
      "Function": "stat_kruskal_test()",
      "Default test or source of p-values": "Kruskal-Wallis",
      "Default p.adjust.method": "holm",
      "Default p.format.style": "default",
      "Documented note": "Default label is {method}, p = {p.format}; adjustment applies with multiple variables or groups"
    },
    {
      "Function": "stat_pvalue_manual()",
      "Default test or source of p-values": "p-values supplied by the user in a data frame",
      "Default p.adjust.method": "none",
      "Default p.format.style": "default",
      "Documented note": "Default p.digits is 3; takes y.position, group1 and group2 columns"
    }
  ],
  "sources": [
    {
      "title": "CRAN: ggpubr reference manual (version 1.0.0)",
      "url": "https://cran.r-project.org/web/packages/ggpubr/ggpubr.pdf",
      "accessed": "2026-11-19"
    }
  ]
}