#' Hinge function
#'
#' @param Y matrix describing genes (possibly in reduced space)
#'
#' @return matrix -Y with negative values replaced with zeroes
#'
#' @examples
hinge <- function(Y) {
return(pmax(-Y, 0))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.