qq_pval: qq plot given input p values

View source: R/skitools.R

qq_pvalR Documentation

qq plot given input p values

Description

qq plot given input p values

Usage

qq_pval(
  obs,
  highlight = c(),
  exp = NULL,
  lwd = 1,
  bestfit = T,
  col = NULL,
  col.bg = "black",
  pch = 18,
  cex = 1,
  conf.lines = FALSE,
  max = NULL,
  max.x = NULL,
  max.y = NULL,
  qvalues = NULL,
  label = NULL,
  repel = FALSE,
  plotly = FALSE,
  annotations = list(),
  gradient = list(),
  titleText = "",
  subsample = NA,
  ...
)

Arguments

obs

vector of pvalues to plot, names of obs can be intepreted as labels

highlight

optional arg specifying indices of data points to highlight (ie color red)

lwd

integer, optional, specifying thickness of line fit to data

pch

integer dot type for scatter plot

cex

integer dot size for scatter plot

conf.lines

logical, optional, whether to draw 95 percent confidence interval lines around x-y line

max

numeric, optional, threshold to max the input p values

label

length(obs) charater vector of labels (NULL)

repel

logical flag whether to use ggrepel

plotly

toggles between creating a pdf (FALSE) or an interactive html widget (TRUE)

annotations

named list of vectors containing information to present as hover text (html widget), must be in same order as obs input

gradient

named list that contains one vector that color codes points based on value, must bein same order as obs input

titleText

title for plotly (html) grcaph only

samp

integer, optional specifying how many samples to draw from input data (default NULL)

Author(s)

Marcin Imielinski, Eran Hodis, Zoran Gajic


mskilab/skitools documentation built on March 5, 2025, 11:52 p.m.