qqunif: qqunif

Description Usage Arguments Value

View source: R/qqunif.R

Description

Create qqplots with an assumed uniform distribution

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
qqunif(
  d,
  CI = 0.95,
  opacity = 1,
  groupcolors,
  splitby = NULL,
  highlight_p,
  highlight_name,
  annotate_p,
  annotate_name,
  highlighter = "red",
  line,
  slope = 1,
  background,
  title
)

Arguments

d

dataframe with at least one column, p-value; Color, Shape, and Name optional

CI

two-sided confidence interval, default 0.95

opacity

point opacity, default 1

groupcolors

named vector of colors corresponding to data in Group column

splitby

if data contains Color and/or Shape, indicate variable(s) by which the data should be subsetted for calculating CIs

highlight_p

p-value threshold to highlight

highlight_name

vector of names to highlight, dataframe must include a Name column

annotate_p

p-value threshold to annotate, dataframe must include a Name column

annotate_name

vector of names to annotate, dataframe must include a Name column

highlighter

highlighter color

line

draw a red line at pvalue threshold (observed)

slope

abline slope

background

can change to "white"

title

plot title

Value

ggplot object


anastasia-lucas/hudson documentation built on Nov. 18, 2021, 5:16 p.m.