plot_anno_overlap: plot_anno_overlap

View source: R/functions_plot.R

plot_anno_overlapR Documentation

plot_anno_overlap

Description

plot_anno_overlap

Usage

plot_anno_overlap(anno_dt, name_lev = NULL)

Arguments

anno_dt

Output from make_anno_dt

name_lev

Optional name levels top apply.

Value

bar plot of annotation overlap frequency

Examples

gtf_file = system.file(package = "seqqc", "extdata/gencode.v35.annotation.at_peaks.gtf")
anno_grs = make_anno_grs(gtf_file)

peak_files = dir(system.file("extdata", package = "seqqc"), pattern = "Peak$", full.names = TRUE)
peak_grs = seqsetvis::easyLoad_narrowPeak(peak_files)
names(peak_grs) = sub("_rand.+", "", names(peak_grs))

anno_dt = make_anno_dt(peak_grs, anno_grs)
plot_anno_overlap(anno_dt)

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