A Hypothesis
can be any linear combination of coefficients, compared to zero. Specify it as a character vector that can be parsed to yield the desired equalities ala makeContrasts
.
A CoefficientHypothesis
is a hypothesis for which terms are singly or jointly tested to be zero (generally the case in a ttest or Ftest), by dropping coefficients from the model.
1  Hypothesis(hypothesis, terms)

hypothesis 
a character vector specifying a hypothesis, following makeContrasts, or a character vector naming coefficients to be dropped. 
terms 
an optional character vector giving the terms (column names from the 
a Hypothesis with a "transformed" component
zlm.SingleCellAssay waldTest lrTest
1 2  h < Hypothesis('Stim.ConditionUnstim', c('(Intercept)', 'Stim.ConditionUnstim'))
h@contrastMatrix

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.