Package core :: Module PlotData
[hide private]
[frames] | no frames]

Module PlotData

source code

Created 2012


Author: GieseS

Little plotting script which is called in the analysis of different mappings to an artificial reference genome. It produces the following plots:

1) ROC Curve 2) Overview histograms for FP / TP.

Functions [hide private]
 
trapezoidal_rule(x, y)
Approximates the integral through the points a,b
source code
 
CalculateRoc2(dataArray, prefix, readsize, uniquehits, mappedreads, filename)
Calculates the adjusted ROC curve as well as the AUC value derived from the adjusted points and writes the ROC tables to .txt files.
source code
 
plotOverviewHist(fp, tp, label, prefix, mappernames)
Plots true positives and false positives into 2 different histogram subplots.
source code
Variables [hide private]
  __package__ = 'core'