[R-gregmisc-users] SF.net SVN: r-gregmisc:[1822] trunk/gplots/R/heatmap.2.R
Brought to you by:
warnes
From: <wa...@us...> - 2014-06-19 18:51:40
|
Revision: 1822 http://sourceforge.net/p/r-gregmisc/code/1822 Author: warnes Date: 2014-06-19 18:51:32 +0000 (Thu, 19 Jun 2014) Log Message: ----------- Fix typo 'ColInd' --> 'colInd'. Modified Paths: -------------- trunk/gplots/R/heatmap.2.R Modified: trunk/gplots/R/heatmap.2.R =================================================================== --- trunk/gplots/R/heatmap.2.R 2014-06-19 18:36:19 UTC (rev 1821) +++ trunk/gplots/R/heatmap.2.R 2014-06-19 18:51:32 UTC (rev 1822) @@ -210,7 +210,7 @@ { ddc <- Colv ## use Colv 'as-is', when it is dendrogram colInd <- order.dendrogram(ddc) - if(length(ColInd)>nr || any(colInd<1 | colInd > nc )) + if(length(colInd)>nr || any(colInd<1 | colInd > nc )) stop("Colv dendrogram doesn't match size of x") } else if(identical(Colv, "Rowv")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |