From bff09cf083f87a87096c192b4c592e8675722e62 Mon Sep 17 00:00:00 2001 From: Tim Knutsen Date: Tue, 25 Feb 2014 09:59:45 +0100 Subject: [PATCH] added ... to plot() in qq function so main='plot title' can be passed to function --- qqman.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qqman.r b/qqman.r index c7ff02e..e66a638 100644 --- a/qqman.r +++ b/qqman.r @@ -320,7 +320,7 @@ qq = function(pvector,gridlines=F,gridlines.col='gray83',gridlines.lwd=1,gridlin #ymax = ceiling(ymax * 1.03) ymin = -ymax*0.03 plot(0,xlab=expression(Expected~~-log[10](italic(p))),ylab=expression(Observed~~-log[10](italic(p))), - col=F,las=1,xaxt='n',xlim=c(xmin,xmax),ylim=c(ymin,ymax),bty='n',xaxs='i',yaxs='i',cex.axis=cex.axis) + col=F,las=1,xaxt='n',xlim=c(xmin,xmax),ylim=c(ymin,ymax),bty='n',xaxs='i',yaxs='i',cex.axis=cex.axis, ...) axis(side=1,labels=seq(0,max(e),1),at=seq(0,max(e),1),cex.axis=cex.axis,lwd=0,lwd.ticks=1) # Grid lines