cssp.sim-methods: Simulate bin binding intensities according to the posterior...

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
3
4
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

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

CSSP documentation built on Nov. 8, 2020, 8:26 p.m.

Related to cssp.sim-methods in CSSP...