plot_pvalues: Plot p-values in -log10 scale with original labels

View source: R/utility_functions.R

plot_pvaluesR Documentation

Plot p-values in -log10 scale with original labels

Description

To help manage the scale differences, outliers (log p < Q1 - 1.5*IQR) are omitted.

Usage

plot_pvalues(
  x,
  target,
  x_axis_var = NULL,
  color_var = NULL,
  group_var = NULL,
  palette = "Dark2",
  by = c("Approach", "Embedding", "Clustering", "k"),
  facetx = NULL,
  facety = NULL,
  limits = NULL
)

Arguments

x

data.frame

target

column name in x for y axis (boxplot)

x_axis_var

column name in x for x axis

color_var

column name in x for color

group_var

column name in x for group

palette

RColorBrewer palette name

by

column names in x to calculate target quantiles over

facetx

column name in x for x facet

facety

column name in x for y facet

limits

y-axis limits

Value

ggplot object


vittoriofortino84/COPS documentation built on Jan. 28, 2025, 3:16 p.m.