plotlod | R Documentation |
Plot signed or plain LOD image. (taking -LOD when the QTL effect is negative), where (i,j) element is for phenotype i at marker j.
plotlod( output, effects, y, ylab = "Time", gap = 25, ncolors = 251, horizontal = FALSE, ... )
output |
An object of class |
effects |
The sign information whether the QTL having AA do negative
effect. Get this by using |
y |
Positions of phenotypes in image (e.g., the times). |
ylab |
y-axis label |
gap |
The gap between chromosomes. |
ncolors |
The number of colors between blue and red. |
horizontal |
If TRUE, transpose the x and y axes |
... |
More graphical components, passed |
None.
Karl W Broman, Il-Youp Kwak, <email: ikwak2@stat.wisc.edu>
geteffects
data(simspal) simspal <- calc.genoprob(simspal) phe <- 1:nphe(simspal) out <- scanone(simspal, pheno.col=phe, method="hk") eff <- geteffects(simspal, pheno.cols=phe) nam <- phenames(simspal) y <- as.numeric(substr(nam, 2, nchar(nam)))/60 plotlod(out, eff, y, gap=15) plotlod(out, y=y, gap=15, horizontal = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.