scan1var.Rd
Mean-Variance genome scan with a single-QTL model
scan1var(pheno_name, mean_covar_names = "1", var_covar_names = "1", alleleprobs, non_genetic_data, model = c("normal", "binary"), num_cores = 1, ...)
pheno_name | name of the phenotype to scan |
---|---|
mean_covar_names | names of the mean covariates |
var_covar_names | names of the variance covariates |
alleleprobs | Genotype probabilities as calculated by [qtl::calc_genoprob()]. |
non_genetic_data | phenotype and covararite data.frame |
model | Indicates whether to use a normal model (least squares) or binary model (logistic regression) for the phenotype. If `model='binary'`, the phenotypes must have values in \([0, 1]\). individuals. As with the other inputs, it must have `names` for individual identifiers. |
num_cores | Number of CPU cores to use, for parallel calculations. (If `0`, use [parallel::detectCores() - 1].) |
... | additional optional arguments |
results of the scan