QQplot: Pretty Q-Q-plot for P values

Description Usage Arguments Value See Also Examples

View source: R/QQplot.R

Description

Creates a QQplot, given P-values, which should be uniformly distributed

Usage

1
2
QQplot(p, neff = NULL, main = "QQplot", col = "black", add = FALSE,
  ...)

Arguments

p

numeric vector, values between 0 and 1.

neff

number of effective tests. see function eff_nbr_tests

main

Main title

col

color code

add

logic, added to plot or not

...

pass plot arguments on

Value

plot (base)

See Also

https://github.com/sinarueeger/ggGWAS (in development) and qq

Examples

1
2
3
QQplot(runif(100))
QQplot(runif(100), main = "This is the main title")
QQplot(runif(100), add = TRUE, col = "green")

sinarueeger/GWAS.utils documentation built on July 30, 2019, 5:21 p.m.