[R-gregmisc-users] SF.net SVN: r-gregmisc:[1302] trunk/gplots/R/balloonplot.R
Brought to you by:
warnes
From: <wa...@us...> - 2008-08-14 20:06:27
|
Revision: 1302 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1302&view=rev Author: warnes Date: 2008-08-14 20:06:22 +0000 (Thu, 14 Aug 2008) Log Message: ----------- balloonpot() was incorrectly displaying warning about z values below 0 when scale.method="relative". Fixed. Modified Paths: -------------- trunk/gplots/R/balloonplot.R Modified: trunk/gplots/R/balloonplot.R =================================================================== --- trunk/gplots/R/balloonplot.R 2008-08-07 13:40:43 UTC (rev 1301) +++ trunk/gplots/R/balloonplot.R 2008-08-14 20:06:22 UTC (rev 1302) @@ -77,7 +77,7 @@ scale.method <- match.arg(scale.method) scale.range <- match.arg(scale.range) - if( any(z < 0, na.rm=TRUE ) ) + if( scale.method=="absolute" && any(z < 0, na.rm=TRUE ) ) warning("z value(s) below zero detected.", " No balloons will be displayed for these cells.") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |