plot_ploidetect: Produce ploidetect-style plots for a copy number profile

View source: R/helper_functions.R

plot_ploidetectR Documentation

Produce ploidetect-style plots for a copy number profile

Description

plot_ploidetect takes a data.table containing the bin-level copy number data for a locus of interest and an optional argument of whether to indicate segment breakpoints. It returns a ggplot2 plot of the data

Usage

plot_ploidetect(
  cnv_data,
  cn_positions,
  cytobands,
  mode = "all",
  seg_lines = F,
  colors = "cnv"
)

Arguments

seg_lines

a boolean of whether to include vertical dashed lines at each segment breakpoint

cna

a data.table containing the regions of interest. Single chromosome only

Value

a ggplot2 plot


lculibrk/Ploidetect documentation built on May 18, 2023, 5:53 p.m.