fit.freq {CSSP}R Documentation

Compute the estimated frequency for ChIP counts based on the CSSP model.

Description

Compute the estimated frequency for ChIP counts based on the CSSP model.

Usage

fit.freq(fit, chip)

## S4 method for signature 'CSSPFit'
fit.freq(fit, chip)

Arguments

fit

A CSSPFit-class object for the fitted CSSP model.

chip

A numeric vector of ChIP sample bin counts.

Value

A data.frame object containing

count The counts of each bin.\ freq The ChIP data frequency at this count value.\ freq.est The estimated frequency using the posterior distributions of the bin-level poisson intensities.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

data( sampleFit )
data( bin.data )
fit.freq( sampleFit, chip = bin.data@tagCount )

[Package CSSP version 1.20.0 Index]