-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpostImpQC.Rd
74 lines (61 loc) · 2.19 KB
/
postImpQC.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postImputation.R
\name{postImpQC}
\alias{postImpQC}
\title{Post imputation quality control}
\usage{
postImpQC(
plink,
inputPrefix,
out1,
out2,
out3,
out4,
outputInfoFile,
infoScore = 0.6,
outputMonoSNPfile,
prefixAlign2ref,
missCutoff = 20,
outRemovedSNPfile,
outRetainSNPfile,
referencePanel
)
}
\arguments{
\item{plink}{an executable program in either the current working
directory or somewhere in the command path.}
\item{inputPrefix}{the prefix of the final imputed PLINK files.}
\item{out1}{the prefix of well imputed PLINK files with the index.}
\item{out2}{the prefix of well imputed PLINK files after removing any
SNPs with the same positions (if any), the index is also appended.}
\item{out3}{the prefix of well imputed PLINK files with the index
after adding previously identified monomorphic SNPs if any.}
\item{out4}{the prefix of final well imputed PLINK files with the index.}
\item{outputInfoFile}{the output file of impute2 info scores consisting of
two columns: all imputed SNPs and their info scores.}
\item{infoScore}{the cutoff of filtering imputation quality score for
each variant. The default value is 0.6.}
\item{outputMonoSNPfile}{the output pure text file that stores
the removed monomorphic SNPs, one per line, if any.}
\item{prefixAlign2ref}{the prefix of the output PLINK binary
files after removing SNPs whose alleles are not in the imputation reference,
taking their genomic positions into account.}
\item{missCutoff}{the cutoff of the least number of instances for
a SNP that is not missing. The default is 20.}
\item{outRemovedSNPfile}{the output file of SNPs with pre-defined
missing values that are removed.}
\item{outRetainSNPfile}{the output file of SNPs that are retained.}
\item{referencePanel}{a string indicating the type of imputation
reference panels is used: c("1000Gphase1v3_macGT1", "1000Gphase3").}
}
\value{
All imputed genotype data in PLINK format, well imputed data and
its variants, as well as a set of pure text files containing removed or
retained SNPs.
}
\description{
Perform quality control and data management after imputation.
}
\author{
Junfang Chen
}