03cd68309bcb94d8bd760621998cfc851a683fac,cnvlib/segfilters.py,,ampdel,#Any#,31
Before Change
actionable, usually focal, CNAs. Real and potentially informative but
lower-level CNAs will be merged together.
return segarr
@require_column("depth")
def bic(segarr):
After Change
// TODO - handle a/b allele amplifications separately
// i.e. don"t merge amplified segments if cn1, cn2 are not the same
groups = levels.diff().fillna(0).abs().cumsum().astype(int)
groups += enumerate_chroms(segarr["chromosome"] )
squashed = (segarr.data.assign(group=groups)
.groupby("group", as_index=False, group_keys=False, sort=False)
.apply(squash_region))
return segarr.as_dataframe(squashed)
@require_column("depth")
def bic(segarr):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: etal/cnvkit
Commit Name: 03cd68309bcb94d8bd760621998cfc851a683fac
Time: 2016-09-01
Author: eric.talevich@gmail.com
File Name: cnvlib/segfilters.py
Class Name:
Method Name: ampdel
Project Name: etal/cnvkit
Commit Name: 03cd68309bcb94d8bd760621998cfc851a683fac
Time: 2016-09-01
Author: eric.talevich@gmail.com
File Name: cnvlib/segfilters.py
Class Name:
Method Name: ampdel
Project Name: etal/cnvkit
Commit Name: 45d7c856ed0bdf76c3b351249ad3e27c75bdeeef
Time: 2016-09-01
Author: eric.talevich@gmail.com
File Name: cnvlib/segfilters.py
Class Name:
Method Name: cn
Project Name: soft-matter/trackpy
Commit Name: dbeab7509cfec1314b6529d57fbd090ce744695c
Time: 2017-07-27
Author: caspervdw@gmail.com
File Name: trackpy/motion.py
Class Name:
Method Name: compute_drift