.imputedByImpute2 | R Documentation |
Perform imputation by IMPUTE2 for the autosomal and sex chromosome prephased known haplotypes with a reference panel.
.imputedByImpute2( impute2, chrs, prefixChunk, phaseDIR, referencePanel, impRefDIR, imputedDIR, prefix4eachChr, nCore, effectiveSize = 20000 )
impute2 |
an executable program in either the current working directory or somewhere in the command path. |
chrs |
specifiy the chromosome codes for imputation. |
prefixChunk |
the prefix of the chunk files for each chromosome, along with the proper location directory. |
phaseDIR |
the directory where prephased haplotypes are located. |
referencePanel |
a string indicating the type of imputation reference panels is used: c("1000Gphase1v3_macGT1", "1000Gphase3"). |
impRefDIR |
the directory where the imputation reference files are located. |
imputedDIR |
the directory where imputed files will be located. |
prefix4eachChr |
the prefix of IMPUTE2 files for each chunk. |
nCore |
the number of cores used for computation. |
effectiveSize |
this parameter controls the effective population size. Commonly denoted as Ne. A universal -Ne value of 20000 is suggested. |
If ChrX is available then it is done automatically by passing the flag –chrX to IMPUTE2.
The imputed files for all chunks from the given chromosomes.
Junfang Chen
phaseImpute2
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.