plot_scc_dt: plot_scc_dt

View source: R/functions_plot.R

plot_scc_dtR Documentation

plot_scc_dt

Description

plot strand cross correlation (SCC) info

Usage

plot_scc_dt(
  scc_dt,
  main_title = NULL,
  name_var = "name_split",
  name_lev = NULL
)

Arguments

scc_dt

output from make_scc_dt

Value

list of ggplots relevant to SCC

Examples

bam_files = dir(system.file("extdata", package = "seqqc"), pattern = "^M.+bam$", full.names = TRUE)
query_dt.bam = make_dt(bam_files)

peak_files = dir(system.file("extdata", package = "seqqc"), pattern = "Peak$", full.names = TRUE)
peak_grs = seqsetvis::easyLoad_narrowPeak(peak_files)
query_gr = resize(seqsetvis::ssvOverlapIntervalSets(peak_grs), 6e2, fix = "center")

scc_dt = make_scc_dt(query_dt.bam, query_gr)
plot_scc_dt(scc_dt)

FrietzeLabUVM/ssvQC documentation built on March 25, 2024, 12:24 a.m.