This function is for internal use only! The function computes the average value of a genomic feature for each bin of size binsize.
averagePerBin(x, binsize, mcolname)The GRanges object used to compute the average for each bin.
Size of each bin.
The metadata column name used to compute the average for each bin.
A vector object is returned.