Plots histograms for split fragments (SF
), discordant fragments (DF
), and
the total fragments (SF+DF) across all BNDs. Observations where values are 0 (NA) are not shown.
Usage
plot_bnd_sf_df_tot_hist(
d,
title = "SF, DF and SF + DF histogram for BNDs",
subtitle = "Values of 0 (NA) are not shown."
)
Arguments
- d
A data.frame with SF_alt, DF_alt, and SF_DF_sum columns.
- title
Main title of plot.
- subtitle
Subtitle of plot.
Examples
x <- system.file("extdata/sash/sv.prioritised.tsv", package = "gpgr")
d <- process_sv(x)$map
#> Error: ncol(d) not equal to nrow(tab)
plot_bnd_sf_df_tot_hist(d, "a title")
#> Error in is.data.frame(x): object 'd' not found