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

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) 
#> --- Running width_boxplot() ---
#> Done.