qqplot: qqplot

Description Usage Arguments Value Examples

Description

Takes a data object that is either the output of the xwas function or a vector of p-values.

Usage

1
2
qqplot(data, xlab = expression(-log[10] * "(p-expected)"),
  ylab = expression(-log[10] * "(p-empirical)"), pch = 20, ...)

Arguments

data

is an object either a numeric character vector of p-values or the output of the xwas function from which that information can be derived.

xlab

is a default label for the x-axis passed on to the plot function.

ylab

is a default label for the y-axis passed on to the plot function.

pch

is set to 20 by default which is a small bullet point passed on to the plot function.

...

are additional arguments passed on to the plot function.

Value

none

Examples

1
2
3
4
5
## Not run: 
qqplot()
qqplot(data)

## End(Not run)

chiragjp/xwas documentation built on May 13, 2019, 5:27 p.m.