Helper function used to create percent overlap type feature space

percent_func(binned_data_gr, annot_data_gr)

Arguments

binned_data_gr

A GRanges object

annot_data_gr

A Granges object

Value

A vector of proportions indicating the percentage of overlap