Author Archives

            # Load required R packages library(ggpubr) library(rstatix) # Data preparation df <- tibble::tribble( ~sample_type, ~expression, ~cancer_type, ~gene, "cancer",...

GGPUBR: How to Add Adjusted P-values to a Multi-Panel GGPlot

            # Load required R packages library(ggpubr) library(rstatix) # Data preparation df <- tibble::tribble( ~sample_type, ~expression, ~cancer_type, ~gene, "cancer",...

            # Load required R packages suppressPackageStartupMessages(library(ggpubr)) suppressPackageStartupMessages(library(dplyr)) # Example of data from statistical tests stat.test <- tibble::tribble( ~supp,...

How to Draw a Textual Table with GGPLOT and Color Cells Conditionally

            # Load required R packages suppressPackageStartupMessages(library(ggpubr)) suppressPackageStartupMessages(library(dplyr)) # Example of data from statistical tests stat.test <- tibble::tribble( ~supp,...

 1         1Share Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the anxiety dataset [in the...

How to Perform Multiple Paired T-tests in R

 1         1Share Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the anxiety dataset [in the...