A function to identify the super enahncers.
getSuperEnhancer(
sample_list,
peak_path,
peak_suffix = ".narrowPeak.bed",
N_top = 1000,
blacklist = NA
)
A vectot contains sample names.
The path contains the sample peak files.
The suffix of peak files. Default: ".narrowPeak.bed".
The top number of peakset return. Default: 1000.
A blacklist would prevent us from identifying super enhancers in those areas. Default: NA.
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