Performs simple "condition-by-condition" analysis by
running ash from package ashr on data from each
condition, one at a time. May be a useful first step to identify
top hits in each condition before a mash analysis.
Usage
mash_1by1(data, alpha = 0, ...)
Value
A list similar to the output of mash, particularly
including posterior matrices.
Arguments
data
A list with the following two elements: Bhat an
n by R matrix of observations (n units in R conditions); and
Shat, an n by R matrix of standard errors (n units in R
conditions),
alpha
Numeric value of alpha parameter in the model. alpha =
0 for Exchangeable Effects (EE), alpha = 1 for Exchangeable
Z-scores (EZ).