Description Usage Arguments Value Author(s) See Also Examples
This function accepts phenotypes, genotype probabilities and a sample kinship matrix and maps the requested traits using an eight state linear model. FALSEixed covariates may be passed in as well. The output is written to two files: *.LOD.txt (containing the LOD scores for each SNP) and *.coef.txt. (containing the model coefficient at each SNP).
1 | qtl.qtlrel(pheno, probs, K, addcovar, intcovar, snps)
|
pheno |
Data frame, containing the sample IDs, phenotype data and covariates. |
probs |
3D numeric array, containing the genotype probabilities for all samples at each SNP. Dimensions must be samples by states by SNPs and all dimensions must be named. |
K |
Numeric matrix, containing the kinship between individuals as computed by QTLRel. |
addcovar |
Numeric matrix containing additive covariates. |
intcovar |
Numeric matrix containing covariates that interact with the QTL. |
snps |
Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively. |
A list containing two elements:
lod |
Data.frame containing the SNP locations and LOD and p-values. |
coef |
Data.frame containing the model coefficients. |
Daniel Gatti
plot.doqtl
, scanone
, scanone.perm
1 2 3 4 | ## Not run:
qtl.qtlrel(pheno, prob, K, covar = NULL, pheno.name = "")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.