Learn R Programming

lfc (version 0.2.3)

EmpiricalBayesPrior: 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)

Value

A vector of length 2 containing the two parameters

Arguments

A

Vector of counts from condition A

B

Vector of counts from condition B

min.sd

minimal standard deviation of the prior

See Also

PsiLFC

Examples

Run this code
  EmpiricalBayesPrior(rnorm(1000,200),rnorm(1000,100))

Run the code above in your browser using DataLab