Learn R Programming

CSSP (version 1.10.0)

cssp.sim: 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)
"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.

Examples

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

Run the code above in your browser using DataLab