Usage
VIFGC(data, p, x, method = "regress", n, index.filter = NULL, proportion = 1, clust = 0, vart0 = 0, tmp = 0, CA = FALSE, p.table = 0, plot = TRUE, lmax = NULL, color = "red", F = NULL, K = NULL, type_of_plot = "plot", ladd = NULL)
Arguments
data
Input vector of Chi square statistic
method
Function of error to be optimized. Can be
"regress", "median" or "ks.test"
p
Input vector of allele frequencies
x
Model of inheritance (0 for recessive,0.5 for
additive, 1 for dominant, also it could be arbitrary)
index.filter
Indexes for variables that will be
use for analysis in data vector
proportion
The proportion of lowest P (Chi2) to be
used when estimating the inflation factor Lambda for
"regress" method only
plot
If TRUE, plot of lambda will be produced
type_of_plot
For developers only
lmax
The threshold for lambda for plotting
(optional)
color
The color of the plot
F
The estimation of F (optional)
K
The estimation of K (optional)
ladd
The estimation of lambda for additive model
(optional)
p.table
For developers only