function plot.pxg not found in version 1.52

22 views
Skip to first unread message

xu4...@gmail.com

unread,
Nov 2, 2022, 1:17:09 PM11/2/22
to R/qtl discussion
Hi Karl, 

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!
----------------------------------------------------------------------------
Here is the script I'm using:

> 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()

---------------------------------------------------------------------------

Karl Broman

unread,
Nov 2, 2022, 2:16:00 PM11/2/22
to R/qtl discussion
It was renamed as plotPXG(), back in version 1.42 (2018-02-19).

You can use

    source("https://rqtl.org/dotfunc.R")

if you have code that uses the old name.

karl

xu4...@gmail.com

unread,
Nov 2, 2022, 2:37:53 PM11/2/22
to R/qtl discussion
Got it! Thanks!
Reply all
Reply to author
Forward
0 new messages