makeEBcontr: A function to make the contrast vectors needed for EBarrays
Description
Using EBarrays to detect differential expression requires the
construction of a set of contrasts. This little helper function
computes these contrasts for a two level factor.
Usage
makeEBcontr(f1, hival)
Arguments
f1
The factor that will define the contrasts.
hival
The level of the factor to treat as the high level.
Value
An object of class ``ebarraysPatterns''.
Details
Not much more to add, see EBarrays for more details. This is used in
the Category package to let users compute the posterior probability of
differential expression, and hence to compute expected numbers of
differentially expressed genes, per category.