Skip to contents

Plot Cluster Percentage by Bar plot

Usage

PlotClusterPercentage(
  x,
  p_adjust_method = "fdr",
  colours = NULL,
  verbose = TRUE
)

Arguments

x

A TockyPrepData after running the function ClusteringPCA.

p_adjust_method

A method for p-value adjustment in statistical tests.

colours

(optional) A vector specifying colours for different groups in the plot. For example, colours = c("purple", "black").

verbose

Logical indicating whether to print progress messages and outputs.

Value

The TockyPrepData with added statistics and plots for significant clusters.

Examples

if (FALSE) { # \dontrun{
x <- PlotClusterPercentage(x)
} # }