smoothCounts: Smooth the counts of neighboring fragments

Description Usage Arguments Value Author(s) See Also Examples

Description

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.

Usage

1
smoothCounts(object, assay = "counts", binWidth = 5)

Arguments

object

A FourC object.

assay

Assay name that will be smoothed.

binWidth

Integer vector of odd numbers.

Value

Returns an updated FourC object with smoothed counts for each binWidth as new assays.

Author(s)

Felix A. Klein, felix.klein@embl.de

See Also

FourC

Examples

1
2
3
4
data(fc, package="FourCSeq")

fc <- smoothCounts(fc)
fc


Search within the FourCSeq package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.