R: function to plot additional GWAA results

add.plot {GenABEL} | R Documentation

## function to plot additional GWAA results

### Description

Add plot of results of GWA analysis

### Usage

    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

    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")

[Package GenABEL version 1.8-0 Index]