I am new to this file type and rtracklayer package. Now I have a wig file and a matrix with certain ranges(several times the span in wig file) on several specific sites. I want to get average score in my certain ranges on specific sites. Is there any good command in this package I can use ? or any good ways to get a matrix with columns only on start, end, score ? Thanks you in advance guys :)