## 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",...)GenMap, i. e. the map object in a gpData-objectgpData with object map or a data.frame with columns 'chr' (specifying the chromosome of the marker) and 'pos' (position of the marker within chromosome measured with genetic or physical distances)logical. Should density visualization for high-density genetic maps be used?logical. Print number of markers for each chromosome?numeric. Bandwidth to use for dense=TRUE to control the resolution (default = 1 [map unit]).numeric vector. Positions for the centromeres in the same order as chromosomes in map. If "maize", centromere positions of maize in Mbp are used.character. At the moment two file formats are supported: pdf and png. Default is "pdf".plotbw is counted. The high density plot is typically useful if the number of markers exceeds 200 per chromosome on average.create.gpData# low density plot
data(maize)
plotGenMap(maize)
# high density plot
data(mice)
plotGenMap(mice,dense=TRUE,nMarker=FALSE)Run the code above in your browser using DataLab