OpenSWATH - GUI Views

PeptideTreeView Module

PeptideTreeView

class openswathgui.views.PeptideTree.PeptidesTreeView

Bases: PyQt4.QtGui.QTreeView

expandMultiElementItems()

Expand all top elements in the tree that have more than one child

iterTopLevelElements(column)
selectAndScrollTo(model_idx)

Plot Module

Plot

There are two implementations of the plotting view, one uses guiqwt (may not be present on all systems) and the other one uses plain Qwt (should be safer).

class openswathgui.views.Plot.CurveItemModel(*args, **kwargs)

Bases: guiqwt.curve.CurveItem

A single curve

class openswathgui.views.Plot.GuiQwtMultiLinePlot(*args, **kwargs)

Bases: guiqwt.plot.CurveDialog

Widget for an individual plot of transitions

For the Curve window we could use a CurveDialog or a CurvePlot.

CurveDialog has more features and seems more advanced.

create_curves(labels, this_range, show_legend=True)
initialize()
mouseReleaseEvent(event)
rangeChanged(data)
replot()
setAxisFontSize(fontsize)
setDataModel(run)
setTitleFontSize(fontsize)
set_x_limits(xmin, xmax)
set_y_limits(ymin, ymax)
set_y_limits_auto(xmin, xmax)

Automatically set y limits based on the data in the plot and the visible range xmin, xmax.

update_all_curves(data, labels, ranges, mscore, intensity, show_legend=True)
zoomChanged
class openswathgui.views.Plot.QwtMultiLinePlot(*args, **kwargs)

Bases: PyQt4.Qwt5.Qwt.QwtPlot

Widget for an individual plot of transitions (using Qwt Plot)

Implements the same interface as the GuiQwtMultiLinePlot, but performs faster.

clearZoomStack()

Auto scale and clear the zoom stack

create_curves(labels, this_range, show_legend=True)
drawCanvas(painter)
draw_range(painter, l_width, r_width)
initialize()
mousePressEvent(event)
mouseReleaseEvent(event)
setAxisFontSize(fontsize)
setDataModel(run)
setTitleFontSize(fontsize)
set_x_limits(xmin, xmax)
set_y_limits(ymin, ymax)
set_y_limits_auto(xmin, xmax)

Automatically set y limits based on the data in the plot and the visible range xmin, xmax.

update_all_curves(data, labels, ranges, mscore, intensity, show_legend)
zoomChanged

Table Of Contents

Previous topic

OpenSWATH - GUI Models

Next topic

Alignment executables

This Page