cssp.power {CSSP}R Documentation

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)

## S4 method for signature 'CSSPFit'
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.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

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

[Package CSSP version 1.28.0 Index]