Description Usage Arguments Details
View source: R/seqarray_process_helpers.R
Extract PED files from gds
1 | extractPED(gdsfile, moi.estimates = NULL, use.hets = FALSE, outfile = NULL)
|
gdsfile |
a |
moi.estimates |
a vector of MOI values obtained by |
use.hets |
FALSE include heterozygote genotypes |
outfile |
prefix of PLINK files for output (default NULL) |
This function writes a plink .ped and .map file for a given gdsfile. If moi.estimates is set then use.hets is redundant. It will set the sex in each the ped file to 2 if MOI > 1 and set heterozygote genotypes to missing for MOI = 1 calls. This is for use in isoRelate. If the use.hets option is true the genotypes are used as is, other wise heterzygotes are set to missing. This function is slow if there are a large number of variants in the GDS file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.