CreateLTMGObject <- function(x, cond) {
assertthat::assert_that(ncol(x) == ncol(cond))
return(new("LTMG", Data = x, Normalized.Data = x, Conds = cond, Conds.Label = 2^seq(0, nrow(cond) - 1, by = 1) %*% cond))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.