add.plot: function to plot additional GWAA results

Description Usage Arguments Value Author(s) See Also Examples

Description

Add plot of results of GWA analysis

Usage

1
add.plot(x, ..., df = 1,  col=c("lightgreen","lightblue"), sort=TRUE, delta = 1)

Arguments

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

Value

No value returned.

Author(s)

Yurii Aulchenko

See Also

plot, snp.subset, scan.glm, qtscore, ccfast, emp.qtscore, emp.ccfast, scan.haplo, scan.haplo.2D, scan.glm.2D

Examples

1
2
3
4
5
6
require(GenABEL.data)
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")

GenABEL documentation built on May 30, 2017, 3:36 a.m.

Related to add.plot in GenABEL...