Entering edit mode
k. brand
▴
420
@k-brand-1874
Last seen 10.3 years ago
Esteemed BioC Users,
Could some one help me obtain the garden variety microarray heatmap
"red-*black*-green" palette in heatplot()? Using-
lowcol="green", highcol="red"
-has no black transition between red and green.
Since its based on heatmap.2, i thought i could achieve this by
passing
the following argument to heatplot():
cols.default=FASLE #to suppress default color palette
col = c(redgreen(256))
but get the error-
> Error in heatmap.2(data, Colv = Colv, Rowv = Rowv, col = plotcols,
scale = scale, :
> formal argument "col" matched by multiple actual arguments
I'd also like to suppress drawing of the row dendrogram (but NOT the
reordering or rows), but again the heatmap.2 argument to do this-
dendrogram = "column" #draw only column dendrograms
returned-
> Error in heatmap.2(data, Colv = Colv, Rowv = Rowv, col = plotcols,
scale = scale, :
> formal argument "dendrogram" matched by multiple actual arguments
With thanks in advance, cheers,
Karl
--
Karl Brand <k.brand at="" erasmusmc.nl="">
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | F +31 (0)10 704 4743 | M +31 (0)642 777 268