show HWE tables

HWE.show {GenABEL}R Documentation

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

Author(s)

Yurii Aulchenko

See Also

check.marker

Examples

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

[Package GenABEL version 1.6-7 Index]