Learn R Programming

cape (version 2.0.2)

plotPairscan: plot the results from pairscan

Description

This function plots the results from the pairwise regressions. The matrices are plotted with results coded on a yellow to blue scale. Results from all phenotypes are plotted on the same scale.

Usage

plotPairscan(data.obj, pairscan.obj, phenotype = NULL, standardized = TRUE, show.marker.labels = FALSE, show.chr = TRUE, label.chr = TRUE, pdf.label = "Pairscan.Regression.pdf", neg.col = "blue", pos.col = "brown", col.pal = "dark", verbose = FALSE)

Arguments

data.obj
The object in which all results are stored. See read.population.
pairscan.obj
The object in which the results from pairscan are stored.
phenotype
A character vector indicating which phenotypes should be plotted. All phenotypes are plotted if phenotype is set to NULL.
standardized
A logical value. If FALSE, the plotted values are the beta coefficients of the interaction in the pairwise model. If TRUE, the t statistics ($\beta/\sigma$) are plotted.
show.marker.labels
A logical value indicating whether marker labels should appear on the axes.
show.chr
A logical value. If TRUE, chromosomes are indicated by alternating gray and white blocks along plot axes.
label.chr
A logical value. If TRUE and if show.chr is TRUE, chromosome numbers are printed inside each gray and white block.
pdf.label
A character string indicating the name of the file that the plots should be printed to. When multiple phenotypes are plotted, all penotypes are plotted on the same scale and each is plotted in a different page of the pdf.
neg.col
The color in which to plot the negative values. Colors can be one of the following: "green", "purple", "orange", "blue", "brown", "yellow", or "gray."
pos.col
The color in which to plot the positive values. Colors can be one of the following: "green", "purple", "orange", "blue", "brown", "yellow", or "gray."
col.pal
Either "light" or "dark" depending on the desired range of colors used.
verbose
A logical value indicating whether the progress of the plotting function should be reported. Large data sets can take a long time to process and plot.

Value

No values are returned.

See Also

pairscan