residuals.bqtl | R Documentation |
The phenotype data, estimated coefficients, and expected locus values are used to find fitted values for the QTL model
## S3 method for class 'bqtl'
residuals(object,...)
object |
An object of class |
... |
ignored |
The estimated coefficients for a specific QTL model fit are used along with the expected locus values (conditionally on the marker values) are used to find fitted values for the QTL model; these are subtracted from the origianl trait values to get residuals. This is not the only way in which such fits could be obtained; one could condition the expected marker values on both the trait value and the marker values. One could also define fitted values for specific genotype combinations, e.g. for a backcross with k animals and a two gene model 4 fitted values could be determined for each animal leading to 2*2*k residuals.
A vector with as many elements trait values used in the original fitted model.
Charles C. Berry cberry@ucsd.edu
bqtl
data(little.ana.bc)
fit.pheno <- bqtl(bc.phenotype~locus(15)+locus(42),little.ana.bc)
summary(residuals(fit.pheno))
plot( fitted( fit.pheno ), residuals( fit.pheno) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.