View source: R/plot-segmentation.R
plot_segmentation | R Documentation |
Creates an IGV-like graphical representation of the copy-number segments across the samples in a segmentation object, as output by run_facets
.
plot_segmentation(segs, plotX = FALSE, sample_order = NULL, cap_log_ratios = TRUE, colors = c("darkblue", "white", "red"), return_object = FALSE)
segs |
FACETS segment output, IGV formatted. |
plotX |
If |
sample_order |
Manual order of samples. |
cap_log_ratios |
Cap log-ratios at the absolute value. |
colors |
Vector of three colors, giving the low-, mid- and high-point of the color scale. |
return_object |
If |
Output plots in viewer, unless return_object
is used and ggplot2
objects are returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.