I want to have one colour per unique peptide, from red to green, with red associated with the most frequently observed peptides. $uniqueBinders just lets me know how many unique peptides there are in the list, so each unique binder will be the same colour. So, all 16 HISCLTFGR peptides will be red. However, peptides EYLVSFGVW and IISCSCPTV which both only appear once are not the same colour, because Color::Spectrum continues to alter the colour codes as the values in @colours change with each element from 'hot' to 'cold'. I would like peptides of a similar frequency to be the same colour
In reply to Re^2: Generating colour codes according to value
by Sandy_Bio_Perl
in thread Generating colour codes according to value
by Sandy_Bio_Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |