gen_tibble
object to PLINK bed formatgt_as_plink.Rd
This function exports all the information of a gen_tibble
object into
a PLINK bed, ped or raw file (and associated files, i.e. .bim and .fam for .bed;
.fam for .ped).
gt_as_plink(x, file = NULL, type = c("bed", "ped", "raw"), overwrite = TRUE)
a gen_tibble
object
a character string giving the path to output file. If left to NULL, the output file will have the same path and prefix of the backingfile.
one of "bed", "ped" or "raw"
boolean whether to overwrite the file.
the path of the saved file