Nothing
#' Construct Gene-Environment (G×E) Interaction Matrix
#' @param g the long-format matrix of genetic predictors.
#' @param e the long-format design matrix for environment/treatment effects.
#' @return the G×E interaction terms.
#' @usage GE(g,e)
#' @export
#'
GE = function(g,e){
m = ncol(g)
w = c()
for (i in 1:m)
{
w = cbind(w,g[,i]*e)
}
return(w)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.