Smooth the hits of neighboring fragments
Counts are transformed to a hit if they exceed the given threshold. Hits are then smoothed using the number of fragments provided by binWidth. binWidth has to be an odd number so that an equal number of fragments to each side of the current fragment are used for smoothing.
smoothHitPerCent(object, binWidth = 101, thresh = 1)
Integer vector of odd numbers.
Single integer defining the threshold for calling a fragment a hit.
Returns an updated
FourC object with smoothed counts
for each binWidth as new assays.
Felix A. Klein, email@example.com
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.