7b98ac9a1533c82c511acb71d63d100c33a32930,cnvlib/reference.py,,combine_probes,#Any#Any#Any#Any#Any#Any#Any#,23

Before Change


    cvg_centers = np.apply_along_axis(metrics.biweight_location, 0,
                                      all_coverages)
    logging.info("Calculating bin spreads")
    spreads = np.apply_along_axis(metrics.biweight_midvariance, 0,
                                  all_coverages)
    columns["spread"] = spreads
    columns.update({
        "chromosome": cnarr1.chromosome,
        "start": cnarr1.start,

After Change


    cvg_centers = np.apply_along_axis(metrics.biweight_location, 0,
                                      all_coverages)
    logging.info("Calculating bin spreads")
    spreads = np.asarray([metrics.biweight_midvariance(a, initial=i)
                          for a, i in zip(all_coverages.T, cvg_centers)])
    columns.update({
        "chromosome": cnarr1.chromosome,
        "start": cnarr1.start,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: etal/cnvkit
Commit Name: 7b98ac9a1533c82c511acb71d63d100c33a32930
Time: 2016-06-16
Author: eric.talevich@gmail.com
File Name: cnvlib/reference.py
Class Name:
Method Name: combine_probes


Project Name: Esri/raster-functions
Commit Name: b39ae1072934ad146759cd1941931433908ed0d7
Time: 2015-02-07
Author: jwasilkowski@esri.com
File Name: functions/LinearSpectralUnmixing.py
Class Name: LinearSpectralUnmixing
Method Name: updatePixels


Project Name: SheffieldML/GPy
Commit Name: 156ba007199ae10eba777a0f66b810a50282ab98
Time: 2014-05-21
Author: ibinbei@gmail.com
File Name: GPy/util/subarray_and_sorting.py
Class Name:
Method Name: common_subarrays