On 17 May 2006, at 15:46, Xiaoqing Zhang wrote:
> Hi,
>
> I am trying to draw some TFBS logo with different colors, the
> classes I found
> under org.biojava.bio.gui can only draw black and grey. Anyone has
> some
> suggestions about where I can find a java package for colorful
> sequence logo?
BioJava can produce coloured logos, but you need to specify a class
which defines the "palette" of colors to use. Try something like:
DistributionLogo dl = new DistributionLogo();
dl.setStyle(new DNAStyle(false)); // define a
palette
// ...
Hope this helps,
Thomas.
_______________________________________________
Biojava-l mailing list - [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l