write a ped and a map file suitable for analysis with http://pngu.mgh.harvard.edu/~purcell/plink/
write.ped(dat, ilab = NULL, pop = NULL,
fname = "dat",na.str="0",f.id=NULL,m.id=NULL,loc.pos=NULL,sex=NULL)a hierfstat data frame
individal labels
population id
filename for ped file
character string to use for missing values
father id. default to unknown
mother id. default to unknown
the loci position default to unknown
the individual sex. default to unknown
a map file containing the loci positions
a ped file containing genotypes etc...
Purcell etal (2007) PLINK: A Tool Set for Whole-Genome Association and Population-Based Linkage Analyses 81:559-575