width_boxplot: Peak width boxplot

View source: R/width_boxplot.R

width_boxplotR Documentation

Peak width boxplot

Description

This function creates boxplots showing the distribution of widths in each peak file.

Usage

width_boxplot(peaklist, interact = FALSE)

Arguments

peaklist

A list of peak files as GRanges object. Files must be named and listed using list(). e.g. list("name1"=file1, "name2"=file2)

interact

Default TRUE. By default, plots are interactive. If set FALSE, all plots in the report will be static.

Value

A boxplot of peak widths.

Examples

### Load Data ###
data("encode_H3K27ac") # example peaklist GRanges object
data("CnT_H3K27ac") # example peaklist GRanges object  
peaklist <- list("encode"=encode_H3K27ac, "CnT"=CnT_H3K27ac)  
my_plot <- width_boxplot(peaklist = peaklist) 

neurogenomics/EpiCompare documentation built on April 30, 2024, 3:58 p.m.