Learn R Programming

PSCBS (version 0.38.4)

getSmoothLocusData.CBS: Gets smoothed locus-level data

Description

Gets smoothed locus-level data.

Usage

## S3 method for class 'CBS':
getSmoothLocusData(fit, by, ...)

Arguments

fit
An CBS object.
by
A numeric scalar specifying the bin size.
...
Not used.

Value

  • Returns a data.frame where the first three columns are 'chromosome', 'x' (position), and 'count' (number of loci average over for the given bin), and the remaining ones are the smoothed locus-level data.

See Also

For more information see CBS.