update BED2Bin_chromatin class, add R code