plotGenMap {synbreed} | R Documentation |
A function to visualize low and high-density marker maps.
## S3 method for class 'GenMap' plot(x, dense = FALSE, nMarker = TRUE, bw=1, centr=NULL, file=NULL, fileFormat="pdf",...) plotGenMap(map, dense = FALSE, nMarker = TRUE, bw=1, centr=NULL, file=NULL, fileFormat="pdf",...)
x |
object of class |
map |
object of class |
dense |
|
nMarker |
|
bw |
|
centr |
|
file |
Optionally a path to a file where the plot is saved to |
fileFormat |
|
... |
further graphical arguments for function |
In the low density plot, the unique positions of markers are plotted as horizontal lines. In the high-density plot, the distribution of the markers is visualized as a heatmap of density estimation together with a color key. In this case, the number of markers within an interval of equal bandwidth bw
is counted. The high density plot is typically useful if the number of markers exceeds 200 per chromosome on average.
Plot of the marker positions within each chromosome. One chromosome is displayed from the first to the last marker.
Valentin Wimmer and Hans-Juergen Auinger
## Not run: library(synbreedData) # low density plot data(maize) plotGenMap(maize) # high density plot data(mice) plotGenMap(mice,dense=TRUE,nMarker=FALSE) ## End(Not run)