Learn R Programming

qtl (version 1.44-9)

mqmplot.heatmap: Heatmap of a genome of MQM scan on multiple phenotypes

Description

Plotting routine to display a heatmap of results obtained from a multiple-QTL model on multiple phenotypes (the output of mqmscanall)

Usage

mqmplot.heatmap(cross, result, directed=TRUE, legend=FALSE, breaks =
c(-100,-10,-3,0,3,10,100), col =
c("darkblue","blue","lightblue","yellow","orange","red"), …)

Arguments

cross

An object of class cross. See read.cross for details.

result

Result object from mqmscanall, the object needs to be of class mqmmulti

directed

Take direction of QTLs into account (takes more time because of QTL direction calculations

legend

If TRUE, add a legend to the plot

breaks

Color break points for the LOD scores

col

Colors used between breaks

Additional arguments passed to the image function

See Also

Examples

Run this code
# NOT RUN {
data(multitrait)
# }
# NOT RUN {
multitrait <- fill.geno(multitrait) # impute missing genotype data
result <- mqmscanall(multitrait, logtransform=TRUE)
mqmplot.heatmap(multitrait,result)
# }

Run the code above in your browser using DataLab