powered by
This function writes genotype information into a binary PED (BED) filed used in plink. For more details about this format see http://pngu.mgh.harvard.edu/~purcell/plink/binary.shtml.
write_bed(x,n,p,bed_file)
The vector contains integer codes:
## Not run: # # library(BGLR) # demo(write_bed) # # ## End(Not run)
Run the code above in your browser using DataLab