Plot the distance of peak summit to TSS.

plotSummitDis(peak_path, sample, suffix)

Arguments

peak_path

The path containing the peak bed files.

sample

Sample names.

suffix

Provide a suffix for the peak file.

Examples

  plotSummitDis("~/peaks", c("Control1","Control2","Control3","Control4","Control5","IDD1","IDD2","IDD3","IDD4","IDD5"),
                          ".narrowPeak.bed")
#> Error in checkGeAnno(): Necessary Annotation not exist. Please **addAnnotation** first.