def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage']]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoList() vg = visualizationGraphs() return vg.drawPieChart(data, seriesName=categories)
def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage', 'Inclusions'] ]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoListsByLevel() vg = visualizationGraphs() res = vg.drawColumnCharts(data, categories=categories) return vg.visualizeResults(res)
def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage', 'BinSize']]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoListByTrackString( numStart=0, numEnd=len(res)) vg = visualizationGraphs() res = vg.drawColumnChart(data, categories=categories) return vg.visualizeResults(res)
def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage']]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoListsByNumber( math.sqrt(len(res))) vg = visualizationGraphs() return vg.drawPieCharts( data, seriesName=categories, addOptions='width: 50%; float:left; margin: 0 auto')
def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage', 'BinSize']]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoListsByTrackString( strNum="T", numStart=1, numEnd=int(math.sqrt(len(res) / 2))) vg = visualizationGraphs() res = vg.drawColumnCharts( data, categories=categories, seriesName=seriesName, addOptions='width: 50%; float:left; margin: 0 auto') return res
def visualizeResults(self, results): globalResult = results.getGlobalResult() res = OrderedDict([(x, globalResult[x]) for x in globalResult if x not in ['Assembly_gap_coverage']]) dT = dataTransformer(res) seriesName, categories, data = dT.changeDictIntoList() vg = visualizationGraphs() res = vg.drawColumnChart(data, categories=categories, extraScriptButton=[ OrderedDict({ 'Use linear scale': 'linear', 'Use log10 scale': 'logarithmic' }), 'yAxisType' ]) return vg.visualizeResults(res)