Combine adjacent features with the same "feature" field
flatten.feat(x, weightedAverageScore = FALSE, minScore = FALSE)
An object of type feat
If TRUE, scores of merged features are given by the average of those features, weighted by their original lengths. Otherwise, scores of merged features are simply summed.
If TRUE, scores of merged features are given by the minimum score of the combined features.
A features object in which adjacent features are combined into one longer feature.