dot-filterImputeData2: Filter genetic variants

.filterImputeData2R Documentation

Filter genetic variants

Description

Filter out genetic variants accoring to the info score.

Usage

.filterImputeData2(
  plink,
  outputInfoFile,
  infoScore = 0.6,
  inputPrefix,
  outputPrefix
)

Arguments

plink

an executable program in either the current working directory or somewhere in the command path.

outputInfoFile

the output file of info scores consisting of two columns: SNP names and their info scores. The headers are c("rsid", "info").

infoScore

the cutoff of filtering imputation quality score for each variant. The default value is 0.6.

inputPrefix

the prefix of the input imputed PLINK binary files.

outputPrefix

the prefix of the output filtered PLINK binary files.

Details

Filter genetic variants accoring to the imputation quality score with the help of .impute2_info files generated by IMPUTE2. Often, we keep variants with imputation info score of greater than 0.6. Note that imputed SNPs with more than two alleles are not considered.

Value

A pure text file contains the info scores of all imputed SNPs with two columns: SNP names and the corresponding info scores. A pure text file with all excluded SNPs having bad info scores. The filtered PLINK binary imputed files,

Author(s)

Junfang Chen


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