Retrieve the set of non-verlapping regions by iteratively picking the region with maximum score for each set of consecutively overlapping regions

getNonOverlappingByScore(gr, scoreCol = "score")

Arguments

gr

GRanges object

scoreCol

name of the column to be used as score in the elementMetadata of the gr object

Value

GRanges object containing non-overlapping regions

Author

Fabian Mueller