Learn R Programming

SNPassoc (version 1.4-9)

qqpval: Functions for inspecting population substructure

Description

This function plots ranked observed p values against the corresponding expected p values in -log scale.

Usage

qqpval(p, pch=16, col=4, ...)

Arguments

p
pch
col
...

Value

  • A plot

See Also

GenomicControl, WGassociation

Examples

Run this code
data(SNPs)
datSNP<-setupSNP(SNPs,6:40,sep="")
res<-scanWGassociation(casco,datSNP,model=c("do","re","log-add"))

# observed vs expected p values for recessive model
qqpval(recessive(res))

Run the code above in your browser using DataLab