mash_1by1 | R Documentation |
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.
mash_1by1(data, alpha = 0, ...)
data |
A list with the following two elements: |
alpha |
Numeric value of alpha parameter in the model. alpha = 0 for Exchangeable Effects (EE), alpha = 1 for Exchangeable Z-scores (EZ). |
... |
optionally, other parameters to be passed to ash |
A list similar to the output of mash, particularly including posterior matrices.
simdata = simple_sims(50,5,1)
mash_1by1(simdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.