Learn R Programming

GenABEL (version 1.8-0)

HWE.show: show HWE tables

Description

This function displays HWE tables and shows Chi2 and exact HWE P-values

Usage

HWE.show(data, idsubset = c(1:data@gtdata@nids), snpsubset = c(1:data@gtdata@nsnps))

Arguments

data
object of class gwaa.data-class or snp.data-class
snpsubset
Index, character or logical vector with subset of SNPs to run analysis on. If missing, all SNPs from data are used for analysis.
idsubset
Index, character or logical vector with subset of IDs to run analysis on. If missing, all people from data/cc are used for analysis.

Value

Only screen output

See Also

check.marker

Examples

Run this code
require(GenABEL.data)
data(srdta)
mc <- check.marker(srdta,p.lev=0.01,ibs.mrk=0)
mc$nohwe
HWE.show(data=srdta,snps=mc$nohwe)

Run the code above in your browser using DataLab