Bases: metaseq.minibrowser.BaseMiniBrowser
Base class for plotting genomic signal.
Plots genomic signal over a particular area of the genome. Designed to be extended by subclasses, but can stand alone if all you want is a simple one-panel browser.
Parameters: |
|
---|
Methods
close_all() | Close all figures spawned by this class. |
example_panel(ax, feature) | A example panel that just prints the text of the feature. |
make_fig() | Figure constructor, called before self.plot() |
panels() | Add a single panel to the figure |
plot(feature) | Spawns a new figure showing data for feature. |
signal_panel(ax, feature) | Plots each genomic signal as a line using the corresponding |
Methods
__init__(genomic_signal_objs[, ...]) | Base class for plotting genomic signal. |
close_all() | Close all figures spawned by this class. |
example_panel(ax, feature) | A example panel that just prints the text of the feature. |
make_fig() | Figure constructor, called before self.plot() |
panels() | Add a single panel to the figure |
plot(feature) | Spawns a new figure showing data for feature. |
signal_panel(ax, feature) | Plots each genomic signal as a line using the corresponding |
Base class for plotting genomic signal.
Plots genomic signal over a particular area of the genome. Designed to be extended by subclasses, but can stand alone if all you want is a simple one-panel browser.
Parameters: |
|
---|
Close all figures spawned by this class.
A example panel that just prints the text of the feature.
Figure constructor, called before self.plot()
Spawns a new figure showing data for feature.
Parameters: | feature – A pybedtools.Interval object |
---|
Using the pybedtools.Interval feature, creates figure specified in BaseMiniBrowser.make_fig() and plots data on panels according to self.panels().