View source: R/functions_plot.R
plot_anno_overlap | R Documentation |
plot_anno_overlap
plot_anno_overlap(anno_dt, name_lev = NULL)
anno_dt |
Output from |
name_lev |
Optional name levels top apply. |
bar plot of annotation overlap frequency
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.