title: R package heatmap.plus ColSideColors parameters gives an error on dimensions
body: <p>I need to plot a heatmap of a matrix with annotations, so using the heatmap.plus R package I need to use the ColSideColors parameter. The issue here is that it asks for the same dimensions even when those are equal...</p>
  
  <pre><code>&gt; m &lt;- matrix(rnorm(100,1, 20), 10, 10)
  &gt; c &lt;- t(as.matrix(rep('gold', 10), ncol=10, nrow=10))
  &gt; heatmap.plus(m, ColSideColors=c)
  Error in heatmap.plus(m, ColSideColors = c) : 
    'ColSideColors' dim()[2] must be of length ncol(x)
  &gt; dim(c)[2]
  [1] 10
  &gt; ncol(m)
  [1] 10
  </code></pre>
  
  <hr>
  
  <p><strong>UPDATE</strong>
  What in the case of the following code?</p>
  
  <pre><code>&gt; m &lt;- matrix(rnorm(100,1, 20), 10, 10)
  &gt; c &lt;- t(as.matrix(cbind(rep('gold', 10), rep('blue', 10)), ncol=2, nrow=10))
  &gt; heatmap.plus(m, ColSideColors=c)
  Error in heatmap.plus(m, ColSideColors = c) : 
    'ColSideColors' dim()[2] must be of length ncol(x)
  &gt; dim(c)[2]
  [1] 10
  &gt; ncol(m)
  [1] 10
  </code></pre>
  
  <p>in other words, what should I do when I want to build the matrix from vectors...?</p>