View source: R/helper_functions.R
plot_ploidetect | R Documentation |
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
plot_ploidetect(
cnv_data,
cn_positions,
cytobands,
mode = "all",
seg_lines = F,
colors = "cnv"
)
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 |
a ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.