EmpiricalBayesPrior {lfc} | R Documentation |
Computes the prior parameters (i.e. pseudocounts incremented by 1) for the log2 fold change distribution
Description
Computes the prior parameters (i.e. pseudocounts incremented by 1) for the log2 fold change distribution
Usage
EmpiricalBayesPrior(A, B, min.sd = 0)
Arguments
A |
Vector of counts from condition A |
B |
Vector of counts from condition B |
min.sd |
minimal standard deviation of the prior |
Value
A vector of length 2 containing the two parameters
See Also
PsiLFC
Examples
EmpiricalBayesPrior(rnorm(1000,200),rnorm(1000,100))
[Package lfc version 0.2.3 Index]