Tag Archives

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

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", 25.8,...

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

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, ~group1,...

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

How to Perform Multiple Paired T-tests in R

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

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the self-esteem score dataset measured over...

How to Perform Paired Pairwise T-tests in R

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the self-esteem score dataset measured over...

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of...

How to Perform T-test for Multiple Groups in R

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of...