plot_bnd_sr_pr_tot_hist: Histogram for SR, PR and SR + PR for BNDs

Description Usage Arguments Value Examples

Description

Plots histograms for the number of split reads (SR), paired end reads (PR), and their sum (tot) across all BNDs. Observations where the SR or PR value is 0 (NA) are not shown.

Usage

1
2
3
4
5
plot_bnd_sr_pr_tot_hist(
  d,
  title = "SR, PR and SR + PR histogram for BNDs",
  subtitle = "Values of 0 (NA) are not shown."
)

Arguments

d

A data.frame with an SR_PR_alt column.

title

Main title of plot.

subtitle

Subtitle of plot.

Value

A ggplot2 plot object.

Examples

1
2
3
x <- system.file("extdata/umccrise/sv/manta.tsv", package = "gpgr")
d <- process_sv(x)$unmelted
plot_bnd_sr_pr_tot_hist(d, "a title")

umccr/gpgr documentation built on Nov. 25, 2021, 1:15 p.m.