`ridge(X, Y, H, sigma)`

X

an N by k design matrix

Y

an N by 1 response vector

H

an N by N projection matrix

`X(X'X)^{-1}X'`

sigma

a numeric, noise standard deviation

p an N by 1 vector of p-values for each of the N genes gamma an N by 1 vector of estimated primary variable gamma