7979c42982d57bc84226baa863889938599a360d,cnvlib/call.py,,absolute_threshold,#Any#Any#Any#Any#,31
Before Change
cnum = 0
for cnum, thresh in enumerate(thresholds):
if row["log2"] <= thresh:
break
else:
ref_copies = _reference_copies_pure(row["chromosome"], ploidy,
is_reference_male)
cnum = int(np.ceil(_log2_ratio_to_absolute_pure(row["log2"],
After Change
is_reference_male)
for cnum, thresh in enumerate(thresholds):
if row["log2"] <= thresh:
if ref_copies != ploidy:
cnum = int(cnum * ref_copies / ploidy)
break
else:
cnum = int(np.ceil(_log2_ratio_to_absolute_pure(row["log2"],
ref_copies)))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: etal/cnvkit
Commit Name: 7979c42982d57bc84226baa863889938599a360d
Time: 2015-09-29
Author: eric.talevich@gmail.com
File Name: cnvlib/call.py
Class Name:
Method Name: absolute_threshold
Project Name: TheAlgorithms/Python
Commit Name: 20407577511da192b6a08f103269dea0efbd8daf
Time: 2018-10-28
Author: dheerajreddymumma@gmail.com
File Name: maths/PrimeCheck.py
Class Name:
Method Name: primeCheck
Project Name: scikit-image/scikit-image
Commit Name: cc31d7f56d6cd8569a5f7b47c254d89a85e8691b
Time: 2017-04-17
Author: grlee77@gmail.com
File Name: skimage/transform/pyramids.py
Class Name:
Method Name: pyramid_laplacian
Project Name: home-assistant/home-assistant
Commit Name: 2a5ca1c873203b86619bce8d59d72d897219d143
Time: 2016-08-28
Author: turbokongen@hotmail.com
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_temperature