Learn R Programming

CSSP (version 1.10.0)

fit.freq: 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)

## S3 method for class '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 l{ 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.}

Examples

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

Run the code above in your browser using DataLab