Neatly plots the genetic linkage map with marker locations and marker names.
# S3 method for cross
linkMap(object, chr, chr.dist, marker.names = "markers",
tick = FALSE, squash = TRUE, m.cex = 0.6, ...)This invisibly returns the following list for manipulation with
linkMap.wgaim()
A list named by the chromosomes with each element containing the locations of the marker names after correcting for overlapping
A list named by the chromosomes with each element containing the locations of markers on the chromosomes
The numerical position of the chromosomes on the plotting region
object of class "cross"
character string naming the subset of chromosomes to plot
a list containing named elements "start" and
"end" containing the start and end distances in cM the
genetic map should be subsetted by. Each of these may also be
a vector of distances equal to the length of the number of linkage
groups to be plotted.
a character string naming the type of marker
information to plot. If "dist" then distances are
plotted alongside each chromosome on the left. If "markers"
then marker names are plotted instead. Defaults to "markers"
logical value. If TRUE then an axis with tick marks are
generated for the chromosome names. Defaults to FALSE
logical value. if TRUE then creates extra room on
the left side of the chromosomes. This is useful for plotting trait
names for QTL using linkMap.wgaim() and
linkMap.default()
the expansion factor to use for the marker names
arguments passed to plot() function to set up the plot
region. Arguments may also be passed to text() function for the
manipulation of the marker names
Julian Taylor
This plotting procedure provides a visual display of the
chromosomes without marker names overlapping vertically. The plotting
region will adjust itself to ensure that all marker names are in the region. For
this reason the value for "m.cex" is passed to the text()
function and should be manipulated until an aesthetic genetic map is reached.
For large maps with many chromosomes, marker names and adjacent chromosomes will overlap horizontally. For the interest of readability this has not been corrected. For this particular situation it is suggested that the user horizontally maximise the plotting window until no overlapping occurs or subset the genetic map to achieve the desired result.
Verbyla, A. P & Taylor, J. D, Verbyla, K. L (2012). RWGAIM: An efficient high dimensional random whole genome average (QTL) interval mapping approach. Genetics Research. 94, 291-306.
Julian Taylor, Arunas Vebyla (2011). R Package wgaim: QTL Analysis in Bi-Parental Populations Using Linear Mixed Models. Journal of Statistical Software, 40(7), 1-18. URL http://www.jstatsoft.org/v40/i07/.
Verbyla, A. P., Cullis, B. R., Thompson, R (2007) The analysis of QTL by simultaneous use of the full linkage map. Theoretical and Applied Genetics, 116, 95-111.
linkMap.wgaim
data(genoSxT, package = "wgaim")
## plot linkage map with marker names
linkMap(genoSxT, cex = 0.5)
## plot linkage map with distances
linkMap(genoSxT, cex = 0.5, marker.names = "dist")
Run the code above in your browser using DataLab