Returns a data.table showing counts of regions in GR, in the bins In other words, where on which chromosomes are the ranges distributed? You must provide *either* a refAssembly (and binCount), or a GRangesList object as already binned regions

featureAggregateDistribution(query, features)

Arguments

query

A GenomicRanges or GenomicRangesList object with query regions

features

Pre-computed features (as a GRangesList object) to aggregate over; for example, these could be genome bins