cssp.power {CSSP} | R Documentation |
Compute the weighted average of bin-wise power conditioning on the fold change and minimal ChIP count requirements.
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)
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. |
A numeric value for the weighted average of bin power conditioning on the minimal count and fold change thresholds.
Chandler Zuo zuo@stat.wisc.edu
data( sampleFit ) cssp.power( sampleFit, x = sampleFit@lambday*0.1, min.count = 0, fold = 2, useC = TRUE )