peak_info | R Documentation |
This function outputs a table summarizing information on the peak files. Provides the total number of peaks and the percentage of peaks in blacklisted regions.
peak_info(peaklist, blacklist)
peaklist |
A named list of peak files as GRanges object.
Objects listed using |
blacklist |
A GRanges object containing blacklisted regions. |
A summary table of peak information
### Load Data ###
data("encode_H3K27ac") # example peakfile GRanges object
data("CnT_H3K27ac") # example peakfile GRanges object
data("hg19_blacklist") # example blacklist GRanges object
### Named Peaklist ###
peaklist <- list("encode"=encode_H3K27ac, "CnT"=CnT_H3K27ac)
### Run ###
df <- peak_info(peaklist = peaklist,
blacklist = hg19_blacklist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.