Skip to contents

kept for posterity. This splits into exact 500kb bins, which may extend beyond end of chromosome, as original DLP did. New function is wildly faster and more simple.

Usage

old_segs_to_reads(
  segs_df,
  bin_size = 5e+05,
  seg_start_col = "start",
  seg_end_col = "end"
)