This function plots the results of the pairwise scan. It plots a matrix of the the interactions between all pairs of markers.
plot_pairscan(
data_obj,
pairscan_obj,
phenotype = NULL,
standardized = FALSE,
show_marker_labels = FALSE,
show_chr = TRUE,
label_chr = TRUE,
show_alleles = TRUE,
allele_labels = NULL,
pos_col = "brown",
neg_col = "blue",
color_scheme = c("DO/CC", "other"),
pdf_label = "Pairscan.Regression.pdf"
)
Plots to a pdf
a Cape
object
a pairscan object from pairscan
The names of the phenotypes to be plotted. If NULL, all phenotypes are plotted.
If TRUE, the standardized effects are plotted. IF FALSE, the effect sizes are plotted.
If TRUE marker labels are plotted along the axes. If FALSE, they are omitted.
If TRUE, the chromosome boundaries are shown
If TRUE, the chromosomes are labeled
If TRUE, the allele of each marker is indicated by color.
Labels for the alleles if other than those stored in the data object.
The color to use for positive main effects and interactions
must be one of "green", "purple", "red", "orange", "blue", "brown", "yellow", "gray"
see get_color
The color to use for negative main effects and interactions takes the same values as pos_col.
either "DO/CC" or "other". "DO/CC" uses the official "DO/CC" colors for the DO/CC alleles http://www.csbio.unc.edu/CCstatus/index.py?run=AvailableLines.information "other" uses an unrelated color palette for multiple alleles.
Label for the resulting file. Defaults to "Pairscan.Regression.pdf" if plotting to pdf, "Pairscan.Regression.jpg" otherwise.