.convertImpute2ByGtool | R Documentation |
Convert all chunks of IMPUTE2 format files into binary PLINK format using GTOOL.
.convertImpute2ByGtool( gtool, chrs, prefixChunk, phaseDIR, imputedDIR, prefix4eachChr, suffix4imputed, postImputeDIR, threshold, SNP = TRUE, nCore )
gtool |
an executable program in either the current working directory or somewhere in the command path. |
chrs |
specifiy the chromosome codes for conversion. |
prefixChunk |
the prefix of the chunk files for each chromosome, along with the location directory. |
phaseDIR |
the directory where pre-phased files are located. |
imputedDIR |
the directory where the imputated files are located. |
prefix4eachChr |
the prefix of the input IMPUTE2 files and also the output PLINK binary files for each chunk. |
suffix4imputed |
the suffix of the IMPUTE2 format file that stores the imputed value. Both ".impute2" and ".gen" are accepted. |
postImputeDIR |
the directory where converted PLINK binary files will be located. |
threshold |
threshold for merging genotypes from GEN probability. Default 0.9. |
SNP |
A logical value indicating if the data is entirely comprised single nucleotide polymorphisms then it can be set as TRUE and the genotypes are expressed as pairs of A,C,G,T and unknowns are represented as N N. |
nCore |
the number of cores used for computation. |
The converted binary PLINK format files for each chunk from IMPUTE2 results.
Junfang Chen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.