#' function for pheatmap
#' @description function for pheatmap
#' @export
scale_rows = function(x){
m = apply(x, 1, mean, na.rm = T)
s = apply(x, 1, sd, na.rm = T)
return((x - m) / s)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.