plot_frequencies: plot genome-wide amplification and deletion frequencies

Description Usage Arguments Value Examples

View source: R/plot_frequencies.R

Description

plot genome-wide amplification and deletion frequencies

Usage

1
2
3
4
5
6
7
8
plot_frequencies(
  cnr,
  cols = c("#D40000", "#318CE7"),
  xlab = "Genome",
  ylab = "Alteration Frequency",
  ylim = c(-1, 1),
  ...
)

Arguments

cnr

a cnr bundle

cols

colors for amplifications and deletions, default to red and blue

xlab

x-axis label, passed to plot

ylab

y-axis label, passed to plot

ylim

sets coordinate space for y-axis, defaults to -1 to 1. The text will show absolute values for the deletion frequenies

...

other arguments to plot

Value

Returns a bin alteration frequency plot with amplifications on the top axis, and deletions on the bottom axis.

Examples

1
2
3
4
5

SingerLab/gac documentation built on Aug. 14, 2021, 10:57 a.m.