| add.plot {GenABEL} | R Documentation |
Add plot of results of GWA analysis
add.plot(x, ..., df = 1, col=c("lightgreen","lightblue"), sort=TRUE, delta = 1)
x |
object of type scan.gwaa-class, as returned by scan.glm, qtscore,
ccfast, emp.ccfast, emp.qtscore, or scan.haplo;
or of type scan.gwaa.2D-class, as returned by scan.haplo.2D or scan.glm.2D.
|
... |
additional arguments to be passed to plot |
df |
P-value at which df to add (1, 2 or "Pc1df") |
col |
which colors to use to depict consecutive chromosomes |
sort |
whether results should be plotted after sorting by chromosome and position |
delta |
gap width between chromosomes |
No value returned.
Yurii Aulchenko
plot,
snp.subset,
scan.glm,
qtscore,
ccfast,
emp.qtscore,
emp.ccfast,
scan.haplo,
scan.haplo.2D,
scan.glm.2D
data(srdta)
a <- ccfast("bt",srdta,snps=c(1:100))
plot(a)
a1 <- qtscore(bt,srdta,snps=c(1:100))
add.plot(a1,col="red",type="l")