CloneSet154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.996stmt_list[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121607
Bio/Graphics/GenomeDiagram/_CircularDrawer.py
222914
Bio/Graphics/GenomeDiagram/_LinearDrawer.py
Clone Instance
1
Line Count
21
Source Line
607
Source File
Bio/Graphics/GenomeDiagram/_CircularDrawer.py

        """ draw_heat_graph(self, graph) -> [element, element,...]

            o graph     Graph object

            Returns a list of drawable elements for the heat graph
        """ 
        #print '\tdraw_heat_graph'
        # At each point contained in the graph data, we draw a box that is the
        # full height of the track, extending from the midpoint between the
        # previous and current data points to the midpoint between the current
        # and next data points
        heat_elements = [ ]     # holds drawable elements

        # Get graph data
        data_quartiles = graph.quartiles( ) 
        minval,maxval =  data_quartiles[0],data_quartiles[4] 
        midval = (maxval+minval)/2.    # mid is the value at the X-axis
        btm,ctr,top =   self.track_radii[self.current_track_level] 
        trackheight = (top-btm) 
        newdata = intermediate_points(self.start,self.end,graph[self.start:self.end]) 


Clone Instance
2
Line Count
22
Source Line
914
Source File
Bio/Graphics/GenomeDiagram/_LinearDrawer.py

        """ draw_heat_graph(self, graph) -> [element, element,...]

            o graph     Graph object

            Returns a list of drawable elements for the heat graph
        """ 
        #print '\tdraw_heat_graph'
        # At each point contained in the graph data, we draw a box that is the
        # full height of the track, extending from the midpoint between the
        # previous and current data points to the midpoint between the current
        # and next data points
        heat_elements = [ ] # Holds drawable elements for the graph

        # Get graph data and information
        data_quartiles = graph.quartiles( ) 
        minval,maxval =  data_quartiles[0],data_quartiles[4] 
        midval = (maxval+minval)/2.    # mid is the value at the X-axis
        btm,ctr,top =   self.track_offsets[self.current_track_level] 
        trackheight = (top-btm) 
        #print self.start, self.end
        newdata = intermediate_points(self.start,self.end,graph[self.start:self.end]) 


Clone AbstractionParameter Count: 1Parameter Bindings

""" draw_heat_graph(self, graph) -> [element, element,...]

            o graph     Graph object

            Returns a list of drawable elements for the heat graph
        """ 
#print '\tdraw_heat_graph'
# At each point contained in the graph data, we draw a box that is the
# full height of the track, extending from the midpoint between the
# previous and current data points to the midpoint between the current
# and next data points
heat_elements = [ ] # holds drawable elements # Holds drawable elements for the graph
# Get graph data
# Get graph data and information
data_quartiles = graph.quartiles( ) 
minval,maxval = data_quartiles[0],data_quartiles[4] 
midval = (maxval+minval)/2. # mid is the value at the X-axis
btm,ctr,top = self. [[#variable2e7eaac0]][self.current_track_level] 
trackheight = (top-btm) 
#print self.start, self.end
newdata = intermediate_points(self.start,self.end,graph[self.start:self.end]) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2e7eaac0]]
track_radii 
12[[#2e7eaac0]]
track_offsets