cssp.power-methods: Compute the weighted average of bin-wise power conditioning...

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

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

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

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