- null.obj
a class glmmkin object, returned by fitting the null GLMM using glmmkin( )
.
- interaction
a numeric or a character vector indicating the environmental factors. If a numeric vector, it represents which indices in the order of covariates are the environmental factors; if a character vector, it represents the variable names of the environmental factors.
- geno.file
the full name of a GDS file (including the suffix .gds).
- outfile
the output file name.
- bgen.samplefile
path to the BGEN .sample file. Required when the BGEN file does not contain sample identifiers.
- interaction.covariates
a numeric or a character vector indicating the interaction covariates. If a numeric vector, it represents which indices in the order of covariates are the interaction covariates; if a character vector, it represents the variable names of the interaction covariates.
- meta.output
boolean value to modiy the output file.If TRUE, the GxE effect estimate and variance and covariance associated with the effect estimate are included in the output file. (default = FALSE)
- covar.center
a character value for the centering option for covariates. Possible values are "none", "all", or "interaction.covariates.only". Generally, centering exposures and covariates to have mean 0 before creating interaction terms would make the genetic main effect easier to interpret. However, if a subsequent meta-analysis is expected, then the exposures of interest should not be centered because in that case the genetic main effect may have different interpretations across studies (default = "interaction.covariates.only").
- geno.center
a logical switch for centering genotypes before tests. If TRUE, genotypes will be centered to have mean 0 before tests, otherwise raw values will be directly used in tests (default = TRUE).
- cat.threshold
a numeric cut-off to determine which interaction terms or interaction covariates should be automatically treated as categorical based on the number of levels (unique observations). They will be treated as categorical if the number of levels (unique observations) is less than or equal to this numeric cut-off (default = 20).
- MAF.range
a numeric vector of length 2 defining the minimum and maximum minor allele frequencies of variants that should be included in the analysis (default = c(1e-7, 0.5)).
- MAC.cutoff
the minimum minor allele count allowed for a variant to be included (default = 1, including all variants).
- miss.cutoff
the maximum missing rate allowed for a variant to be included (default = 1, including all variants).
- RSQ.cutoff
the minimum Rsq value, defined as the ratio of observed and expected genotypic variance under Hardy-Weinberg equilibrium, allowed for a variant to be included (default = 0, including all variants).
- missing.method
method of handling missing genotypes.Either "impute2mean" or "omit" (default = "impute2mean").
- nperbatch
an integer for how many SNPs should be tested in a batch (default = 1). The computational time can increase dramatically if this value is either small or large. The optimal value for best performance depends on the user's system.
- is.dosage
a logical switch for whether imputed dosage should be used from a GDS geno.file
(default = FALSE).
- ncores
a positive integer indicating the number of cores to be used in parallel computing (default = 1).
- verbose
a logical switch for whether failed matrix inversions should be written to outfile
.err for debugging (default = FALSE).