split genomic intervals to bins

gbin_intervals(intervals, nbins)

Arguments

intervals
intervals
nbins
number of bins

Value

intervals set with nbins rows. if nbins < number of intervals the original intervals would be returned