Skip to contents

Plots the split fragments (SF), discordant fragments (DF), and the total fragments (SF+DF) across all BNDs, sorted by total value.

Usage

plot_bnd_sf_df_tot_lines(
  d,
  title = "SF, DF and SF + DF  line plot for BNDs",
  subtitle = "Events are sorted by decreasing total values."
)

Arguments

d

A data.frame with SF_alt, DF_alt, and SF_DF_alt columns.

title

Main title of plot.

subtitle

Subtitle of plot.

Value

A ggplot2 plot object.

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_lines(d)
#> Error in is.data.frame(x): object 'd' not found