Returns the distribution of query over a reference assembly Given a query set of elements (a GRanges object) and a reference assembly (*e.g. 'hg38'), this will aggregate and count the distribution of the query elements across bins of the reference genome

aggregateOverGenomeBins(query, refAssembly, binCount = 10000)

Arguments

query

A GenomicRanges or GenomicRangesList object with query regions

refAssembly

A character vector that will be used to grab chromosome sizes with getChromSizes

binCount

Number of bins to divide the chromosomes into