QQ.plot {CGEN}R Documentation

QQ plot

Description

Create a quantile-quantile plot

Usage

 QQ.plot(pvalues, op=NULL)

Arguments

pvalues

Vector or matrix of p-values. No default.

op

List of options (see details). The default is NULL.

Details

Plots the ranked p-values against their expected order statistics on a minus log base 10 scale. If pvalues is a matrix, then multiple qq plots will be produced, each on a seperate screen. Options list op: Below are the names for the options list op. All names have default values if they are not specified.

Value

Returns 0. Creates a QQ plot.

See Also

Manhattan.plot

Examples

  # set.seed(123)
  p <- runif(1000)
  QQ.plot(p)

[Package CGEN version 3.28.0 Index]