smoothCounts {FourCSeq} | R Documentation |
Counts are 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.
smoothCounts(object, assay = "counts", binWidth = 5)
object |
A |
assay |
Assay name that will be smoothed. |
binWidth |
Integer vector of odd numbers. |
Returns an updated FourC
object with smoothed counts
for each binWidth as new assays.
Felix A. Klein, felix.klein@embl.de
data(fc, package="FourCSeq") fc <- smoothCounts(fc) fc