Previous CloneSet | Next CloneSet | Back to Main Report |

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|

21 | 2 | 1 | 0.996 | stmt_list[8] |

Clone Abstraction | Parameter Bindings |

Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|

1 | 21 | 607 | Bio/Graphics/GenomeDiagram/_CircularDrawer.py |

2 | 22 | 914 | 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 # 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]) |

| ||||

""" 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]) |

| |||

""" 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|

1 | 1 | [[#2e7eaac0]] | track_radii |

1 | 2 | [[#2e7eaac0]] | track_offsets |