cssp.sim {CSSP}R Documentation

Simulate bin binding intensities according to the posterior distributions of the fitted CSSP model.

Description

Simulate bin binding intensities according to the posterior distributions of the fitted CSSP model.

Usage

cssp.sim(fit, x = fit@lambday)

## S4 method for signature 'CSSPFit'
cssp.sim(fit, x = fit@lambday)

Arguments

fit

A CSSPFit-class class object describing the CSSP model.

x

A numeric value for the sequencing depth of the ChIP sample at which the new binding intensities at simulated.

Value

A list object containing

chip A numeric vector for the binding intensities for the ChIP sample.
bind A numeric vector for the simulated binding regions.
bind.sig A numeric vector for the signal component for each bin.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

data( sampleFit )
cssp.sim( fit = sampleFit, x = sampleFit@lambday*0.1 )

[Package CSSP version 1.31.0 Index]