Learn R Programming

CSSP (version 1.10.0)

cssp.power: Compute the weighted average of bin-wise power conditioning on the fold change and minimal ChIP count requirements.

Description

Compute the weighted average of bin-wise power conditioning on the fold change and minimal ChIP count requirements.

Usage

cssp.power(fit, x, ite = 100, fold = 1, min.count = 10, useC = FALSE, qval = 0.05)
"cssp.power"(fit, x, ite = 100, fold = 1, min.count = 10, useC = FALSE, qval = 0.05)

Arguments

fit
A CSSPFit-class object for the CSSP model.
x
A numeric value for the sequencing depth of the ChIP sample at which the power is evaluated.
ite
A integer value for the number of iterations used for Monte-Carlo evaluation.
fold
A numeric value for the fold change threshold.
min.count
A numeric value for the minimal count threshold.
useC
A logical value. Whether the function will be evaluated using C. Default: FALSE.
qval
A numeric value for the q-value for FDR control. Default: 0.05.

Value

A numeric value for the weighted average of bin power conditioning on the minimal count and fold change thresholds.

Examples

Run this code
data( sampleFit )
cssp.power( sampleFit, x = sampleFit@lambday*0.1, min.count = 0, fold = 2,
useC = TRUE )

Run the code above in your browser using DataLab