powered by
Computes the prior parameters (i.e. pseudocounts incremented by 1) for the log2 fold change distribution
EmpiricalBayesPrior(A, B, min.sd = 0)
A vector of length 2 containing the two parameters
Vector of counts from condition A
Vector of counts from condition B
minimal standard deviation of the prior
PsiLFC
EmpiricalBayesPrior(rnorm(1000,200),rnorm(1000,100))
Run the code above in your browser using DataLab