# 4 SNP example, to generate hap.out and assign.out alone
data(fsnps)
hap(id=fsnps[,1],gdata=fsnps[,3:10],nloci=4)
# to generate results of imputations
hap(id=fsnps[,1],gdata=fsnps[,3:10],nloci=4,ss=1,mi=5)
# to extract information from the second run above
mia(so=1,ns=1,mi=5)
## commands to check out where the output files are as follows:
## Windows
# system("command.com")
## Unix
# system("csh")
Run the code above in your browser using DataLab