library(rtracklayer)
chr<-"chr1"
#the values use to binarized the genome (in bp)
bin.size<-100
#the size of the windows (in bp)
windows<-500
#the step of smoothing (in bp): e.g. smooth the signal every 200bp
window.smooth<-200
#do you want apply a smoothing
smoothing<-"FALSE"
#what kind of function do you want use to smooth the signal
function.smoothing<-"median"
#list of file: format bed
list_file<-"CD4-H3K14ac.norm.w100.bed"
#completeTABLE<-cisREfindbed(list_file[1],chr=chr,bin.size=bin.size,windows=windows,window.smooth=window.smooth,smoothing="FALSE",function.smoothing="median")
Run the code above in your browser using DataLab