| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Plotter
A class to plot multiple series of Calculator data.
API example
-----------
enrich_calc1 = enrichment.Calculator(
actives_file_name = "my_actives.txt",
results = "screen_results1.rept",
num_decoys = 1000
)
enrich_calc2 = enrichment.Calculator(
actives_file_name = "my_actives.txt",
results = "screen_results2.rept",
num_decoys = 1000
)
enrich_plotter = enrichment.Plotter([enrich_calc1, enrich_calc2])
enrich_plotter.plot() # Launch interactive plot window.
enrich_plotter.savePlot('my_plot.png') # Save plot to file.
There are six line styles defined by default. Plotting more than
six results cycles through the styles.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Launch interactive matplotlib viewer loaded with plot of the ROC series.
|
Serialized figure to a png format file.
|
Returns a new pylab figure of a ROC plot: Sensitivity v 1-Specificity,
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:22 2015 | http://epydoc.sourceforge.net |