gg_qq: Plot qq-plot of true data and bootstrapped null with ggplot

View source: R/plot_funcs.R

gg_qqR Documentation

Plot qq-plot of true data and bootstrapped null with ggplot

Description

Plot qq-plot of true data and bootstrapped null with ggplot

Usage

gg_qq(
  x,
  y,
  xlab = "F-statistics from sampled Null distr.",
  ylab = "observed F-statistics",
  alpha = 0.25,
  gg_theme = theme_classic(),
  offset = 1,
  plot_diagonal = TRUE
)

Arguments

x

vector containing values of values of first distribution to compare

y

vector containing values of values of secound distribution to compare

xlab

x-axis label

ylab

y-axis label

alpha

transparency paramenter between 0 and 1

gg_theme

ggplot theme, default is theme_classic()

offset

offset for x and y axis on top of maximal values

plot_diagonal

logical parameter indicating whether an identity line should be plotted

Value

A ggplot displaying the qq-plot of a true and a a bootstrapped null distribution

Examples


data("simulated_cell_extract_df")
recomputeSignalFromRatios(simulated_cell_extract_df)


nkurzaw/TPP2D documentation built on May 9, 2023, 10:04 a.m.