Skip to content

Commit 7aa6c01

Browse files
authored
Merge pull request #508 from PNNL-CompBio/copy-call-upper-bin-fix
Keep high copy-number values in amplification bin
2 parents 3ecd797 + f01337d commit 7aa6c01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/prepare_data_for_improve.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def process_datasets(args):
448448

449449
discretized_copy_number = merged_copy_number.apply(
450450
pd.cut,
451-
bins = [0, 0.5210507, 0.7311832, 1.214125, 1.422233, 2],
451+
bins = [0, 0.5210507, 0.7311832, 1.214125, 1.422233, np.inf],
452452
labels = [-2, -1, 0, 1, 2],
453453
include_lowest=True
454454
)

0 commit comments

Comments
 (0)