#' @export
normalize <- function(RGset, method){
if (method == "noob") {
mSetProcessed <- preprocessNoob(RGset)
} else if (method == "swan"){
mSetProcessed <- preprocessSWAN(RGset)
} else {
error("Specify noob or swan!")
}
return(mSetProcessed)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.