gwas(y,gen,fam=NULL,chr=NULL,window=NULL)NA is allowed.0, 1, 2, for founder homozygous, heterozygous and reference homozigous. NA is alldata(tpod)
test=gwas(y=y,gen=gen[,1:240],fam=fam,chr=chr[1:12],window=0.05)
manhattan(test,type="h",lwd=3)Run the code above in your browser using DataLab