plotprofile | R Documentation |
Plot profile LOD matrix of given multiple QTL model.
plotprofile( lodmatlist, times, ylab = "QTL position", xlab = "Time", mval = 0, ... )
lodmatlist |
An |
times |
A vector of times at which the phenotypes were measured. |
ylab |
A label of y. Default is "QTL position". |
xlab |
A label of x. Default is "Time". |
mval |
The maximum LOD value of legend. The color of legend goes 0 to
|
... |
Additional graphical components, passed to |
None.
Il-Youp Kwak, <ikwak2@stat.wisc.edu>
getprofile
data(simspal) simspal <- calc.genoprob(simspal, step=0) phe <- 1:nphe(simspal) # difference between tpy = "sep" and "comb" par(mfrow=c(1,2)) qtlslod <- makeqtl(simspal, chr = c(1, 1, 4), pos = c(36.6, 61, 27.8), what = "prob") lodmat1 <- getprofile(simspal, qtl = qtlslod, pheno.cols =phe, formula = y~Q1 + Q2 + Q3 , method = "hk", tpy = "sep") plotprofile(lodmat1, main="tpy=\"sep\"") lodmat2 <- getprofile(simspal, qtl = qtlslod, pheno.cols =phe, formula = y~Q1 + Q2 + Q3 , method = "hk", tpy = "comb") plotprofile(lodmat2, main="tpy=\"comb\"")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.