Usage
scanone(pheno, pheno.col = 1, probs, K, addcovar, intcovar, snps, model = c("additive", "full"))
Arguments
pheno
data.frame containing phenotype data. Required. rownames must contain sample IDs and there must be a column labelled 'sex' to perform correct mapping on the X chromosome.
pheno.col
numeric or character vector: Either a vector of number that indicate columns to use or a set of column names in pheno.
probs
Numeric three dimensional array, containing the founder haplotype contributions or genotype probabilities. The sample IDs, founder letter codes and markers IDs must be in dimnames.
K
numeric matrix, containing the additive kinship matrix. The samples IDs must be in rownames and colnames.
addcovar
data.frame or numeric matrix, containing any additive covariates. Sample IDs must be in rownames.
intcovar
data.frame or numeric matrix, containing any covariates that interact with the QTL. Sample IDs must be in rownames.
snps
data.frame containing 4 columns with marker location information. SNP ID, chr, Mb, cM in columns 1 through 4, respectively.
model
character string, containing one of "additive" or "full", indicating the type of model to fit.