daniel bernstein bernstedreededu thanks everyone great responses col cgrey black rainbow50 idea easiest figure implement others look like want well thanks much help regards daniel warnes gregory r wrote assemble list colors manually want something like col cgrey black rainbow50 ought trick g hello id like say advance thank help andor advice problem follows dataset made percentages ive assigned error percentages value 100 nonexistent percentages value 0 percentages normal values range high 60s 100 would like create heatmap designates error values gray nonexistent values black would like rest values say 50 100 rainbowtype spectrum like palette spectral rcolorbrewer except 50 values ive tried using breaks implementing breaks heatmap2 command breaks work fine guess want control range colcolorpanel lowcolor1 midcolor2 highcolor3 command way set values low mid high possible think would solve problem ive looked documentation searched previous colorheatmaprelated questions havent come across anything points right direction please let know said needs clarifying give feel appropriate response thanks time regards daniel ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thomas lumley assoc professor biostatistics tlumleyuwashingtonedu university washington seattle ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thu 07 aug 2008 133619 0700 r attempting make custom color spectrum use inheatmap2