Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mqmplotmultitrait

Plot the results from a genomescan using a multiple-QTL model on multiple phenotypes


Description

Plotting routine to display the results from a multiple-QTL model on multiple phenotypes. It supports four different visualizations: a contourmap, heatmap, 3D graph or a multiple QTL plot created by using plot.scanone on the mqmmulti object

Usage

mqmplot.multitrait(result, type=c("lines","image","contour","3Dplot"),
                   group=NULL, meanprofile=c("none","mean","median"),
                   theta=30, phi=15, ...)

Arguments

result

Result object from mqmscanall

type

Selection of the plot method to visualize the data: "lines" (defaut plotting option), "image", "contour" and "3Dplot"

group

A numeric vector indicating which traits to plot. NULL means no grouping

meanprofile

Plot a mean/median profile from the group selected

theta

Horizontal axis rotation in a 3D plot

phi

Vertical axis rotation in a 3D plot

...

Additional arguments passed to plot.

Author(s)

See Also

Examples

data(multitrait)

multitrait <- fill.geno(multitrait) # impute missing genotype data
result <- mqmscanall(multitrait, logtransform=TRUE)
mqmplot.multitrait(result,"lines")
mqmplot.multitrait(result,"contour")
mqmplot.multitrait(result,"image")
mqmplot.multitrait(result,"3Dplot")

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.