Dear Jaime,
Thanks a lot. Now it works. I simply tried any other number (since
there was no documentation) and did not hit any valid value
apparently :-)
Is there a chance to implement a custom color scheme? The green is
pretty light for my purposes (I would like to publish these and the
reviewers should recognize this as expression data right away so you
are reminded of the classic representation of microarray data).
All the best,
Marco
On Sep 2, 5:23 am, Jaime Huerta Cepas <
jhue...@crg.es> wrote:
> Hello Marco,
>
> thanks for your support!
>
> there are currently 3 colorschemes implemented:
> 0=green and blue
> 1=green and red
> 2=red and blue (default)
> In all the three cases, missing values are rendered in black and transition
> color (value = center) is white.
>
> Did you try any of the above values for the "colorscheme" argument with no
> success?
> If so, please let me know your ETE version and, if possible, a little piece
> of code to reproduce the problem. I just tested it with some examples and
> everything seems to response correctly.
>
> P.S. I have just noticed that the "colorscheme" argument was not documented,
> so I have added some info to the new doc-site:
http://packages.python.org/ete2/reference/reference_treeview.html#nod...
>
> Jaime
>
>
>
>
>
>
>
> On Fri, Sep 2, 2011 at 12:01 AM, Marco <
marco.he...@gmx.de> wrote:
> > Hi everybody,
> > This is a really cool package, thanks for providing it!
>
> > I am trying to add a heatmap ProfileFace to a tree. I modified the code
> > given in the ETE examples for this purpose and it seems to work fine. But
> > now I would like to change the colors of the heatmap (currently it is blue
> > to red and I look for the classical microarray green to black to red). The
> > reference library states:
> > *class *ProfileFace(*max_v*, *min_v*, *center_v*, *width=200*, *height=40*,
> > *style='lines'*, *colorscheme=2*)