A function to identify the super enahncers.

getSuperEnhancer(
  sample_list,
  peak_path,
  peak_suffix = ".narrowPeak.bed",
  N_top = 1000,
  blacklist = NA
)

Arguments

sample_list

A vectot contains sample names.

peak_path

The path contains the sample peak files.

peak_suffix

The suffix of peak files. Default: ".narrowPeak.bed".

N_top

The top number of peakset return. Default: 1000.

blacklist

A blacklist would prevent us from identifying super enhancers in those areas. Default: NA.

Examples

 getSuperEnhancer(sample_list=c("s1","s2"),
                            peak_path="~/peak/",
                            blacklist="~/peak/balcklist.bed")
#> Warning: cannot open file 'C:/Users/PC/Documents/peak//s1.narrowPeak.bed': No such file or directory
#> Error in file(file, "rt"): cannot open the connection