Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Peaks2 is a PeakIO object or dictionary with can be
initialzed as a PeakIO. check __init__ for PeakIO for detail.

return how many peaks are intersected by peaks2 by percentage
coverage on peaks2(if 50%, cover = 0.5).

src/a/r/AREM-1.0.1/AREM/PeakDetect.py   AREM(Download)
            p = PeakIO()
            p.init_from_dict(sample_peaks[i])
            percent = 100.0*gp.overlap_with_other_peaks(p)/gptotal
            ret.append(percent)
            del p