summon.sumtree
index
/afs/csail.mit.edu/u/r/rasmus/projects/summon.git/lib/summon/sumtree.py

# phylogenetic tree visualization
#
#

 
Modules
       
atexit
math
summon.shapes
summon
summon_core
sys
threading
time
summon.treelib
summon.util

 
Classes
       
__builtin__.object
SumTree

 
class SumTree(__builtin__.object)
    SUMMON Tree Visualizer
 
  Methods defined here:
__init__(self, tree, name='SUMTREE', showLabels=True, xscale=1.0, vertical=False, winsize=(400, 400), winpos=None, colormap=None)
clearMarks(self)
drawNode(self, node, sx, sy, height)
drawScale(self, x, y, length, xscale)
drawTree(self, node, sx=0, sy=0)
enableLabels(self, visible)
find(self, name)
flag(self, names, flagColor=(2017, 1, 0, 0, 1.0))
mark(self, names, boxColor=(2017, 1, 0, 0, 1.0))
nodeClick(self, node)
printNode(self, node)
setColors(self, tree)
setTree(self, tree)
setupNode(self, node)
setupTree(self, tree)
show(self)
shows visualization window

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'SumTree' objects>
list of weak references to the object (if defined)

 
Functions
       
colorMix(colors)
ensemblTreeColorMap(tree)
Example of a color map for a tree of Enseml genes
makeMapping(maps)
readTreeColorMap(filename)
Reads a tree colormap from a file
treeColorMap(leafmap=<function <lambda>>)
Returns a simple color mixing colormap