Annotating the peaks with ChIPSeeker.

annoPeaks(
  peak_path,
  sample,
  peak_suffix = "_peaks_unique.narrowPeak.bed",
  annoDb_name,
  plot_percent = T
)

Arguments

peak_path

The path containing the peak bed files.

sample

Sample names.

peak_suffix

Provide a suffix for the peak file. Default "_peaks_unique.narrowPeak.bed".

annoDb_name

An annotation package for your species.

plot_percent

Plotting proportions rather than specific numbers. Default: TRUE.

Examples

annoPeaks("~/H3ac/peaks/",c("S1","S2","S3","S4","S5","S6"),
                    "_peaks_unique.narrowPeak.bed","org.Hs.eg.db",plot_percent=F)
#> Error in checkGeAnno(): Necessary Annotation not exist. Please **addAnnotation** first.