formMarkerCovar | R Documentation |
Pull out a matrix of genotypes or genotype probabilities to use markers as covariates in QTL analysis.
formMarkerCovar(cross, markers, method=c("prob", "imp", "argmax"), ...)
cross |
An object of class |
markers |
A vector of character strings of marker or pseudomarker
names. Pseudomarker names may be of the form |
method |
If |
... |
Passed to |
A matrix containing genotype probabilities or genotype indicators,
suitable for use as covariates in scanone
.
Karl W Broman, broman@wisc.edu
pull.geno
, pull.genoprob
,
fill.geno
, scanone
data(hyper)
hyper <- calc.genoprob(hyper, step=0)
peakMarker <- "D4Mit164"
X <- formMarkerCovar(hyper, peakMarker)
out <- scanone(hyper, addcovar=X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.