Karl:
In your tutorial on genetic map construction you finish with a plot of the genetic map (Fig. 22). Is there an argument that one can include in the plot.map cmd that will reduce the font size of the marker name "data labels" sufficiently to be just barely readable, thereby resulting in less marker name overlap, excepti for the very close linked markers in each chr? I am not thinking of a publication ready graph here, just an interim graph for interpetation of marker names on the map
I have tried the identify function and the textxy function for this purpose, but they did not work (see my below code) for the plot of the first 4 chromosomal map set of five needed for 20 chromosomes. For these two functions, I assumed that the x vector was chr (numbers) and the y vector was pos (map positions on each chr), by pos is not recognized as a valid y, and (1:4) is not recognized as a valid x. Perhaps these only work on scatterplots not genetic map type plots.
Still, do you have any suggestions of simple code that would reduce the font size of (ONLY) the data labels (marker names)? I dob't know R that well, but have been able to work thru and understand R cmd code suggestions when offered these.
- Jim
plot.map(OBJNAME, chr=c(1:4), show.marker.names=FALSE, horizontal=FALSE, shift=FALSE, alternate.chrid=TRUE)
mtext(side=3, "F2 Population P1076 - PI 437.112A X Dwight", line=0.8)
# Above plot cmd works ok.
# The textxy cmd is from the calibrate package, but x (chr?), y (pos?) did not work when variable names were subbed for x,y.
#textxy(x, y, labs=c(marker.names), cx=0.5)
# Below cmd does not work either.
identify(x y, labels=(rownames(OBJNAME)), cex=0.5)