When I use this Plink command:
Plink --file filename --hardy
will create a new file filename.hwe with the different p-value for each marker, by contrast with GenABEL
:
library(GenABEL)
...
snpSummary<-summary(gtdata(filename))
hwe_test<-snpSummary$Pexact
Why do I get other p-values for the same markers?