dot-imputedByImpute4: Impute genotypes using IMPUTE4

.imputedByImpute4R Documentation

Impute genotypes using IMPUTE4

Description

Perform imputation by IMPUTE4 for the autosomal prephased known haplotypes with a reference panel.

Usage

.imputedByImpute4(
  impute4,
  chrs,
  prefixChunk,
  phaseDIR,
  referencePanel,
  impRefDIR,
  imputedDIR,
  prefix4eachChr,
  nCore,
  effectiveSize = 20000
)

Arguments

impute4

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.

Value

The imputed files for all chunks from given chromosomes, except sex chromosomes.

Author(s)

Junfang Chen

See Also

phaseImpute4.


transbioZI/Gimpute documentation built on April 10, 2022, 4:20 a.m.