Skip to contents

A plot illustrating the merging of segments by the SHRD algorithm.

Usage

PlotSegmentChanges(
  segments_initial,
  segments_pass_one,
  segments_pass_two,
  sample,
  segment_line_size = 4
)

Arguments

segments_initial

A data frame of the initial gathered segments.

segments_pass_one

A data frame of the gathered segments, after processing and merging in the first pass.

segments_pass_two

A data frame of the gathered segments, after processing and merging in the second pass.

sample

The sample name.

segment_line_size

The line width for the initial segments. Defaults to 4; first-pass & second-pass segments will be 1/2 and 1/4 this width, respectively.

Value

A plot illustrating the initial, first-pass, and second-pass (final) segments.