I'm trying to use plot.pxg to make a phenotypic effect figure. I've never had problem with this function but when I'm trying to use it now, I got an error message saying that the function cannot be found. I tried three separate R/qtl installations and had the same problem. I'm using version 1.52 and all dependencies were installed when I install the R/qtl new version. Could you please help me identify what's the problem? Thanks!
> library(qtl)
> load('~/Documents/DATA/QTL fine mapping/QTL3/qtl mapping/int/3e_int_map3_m.RData')
> pdf("3e.int.m.730.pheno.pdf",height=3,width=3)
> plot.pxg(qtl3e.int.m,marker="S000730",xlab="",ylab="",ylim=c(3.1,3.9),cex.lab=1,cex.axis=1,cex=1,ps=12,main="")
> dev.off()
---------------------------------------------------------------------------