Nothing
#' @name ggheatmap_theme
#' @title The Theme of ggheatmap
#' @description Set the styles of the drawing elements of each component of the
#' ggheatmap except cluster tree.
#' @param ggheatmap the result of ggheatmap
#' @param plotlist integer,the plotlist in ggheatmap. Use \link{ggheatmap_plotlist}
#' @param theme list, the theme of plotlist. More detail can see \link{theme}
#'
#' @return ggheatmap
#' @example
#' #Please see examples in \link{ggheatmap}
#' @export
ggheatmap_theme <- function(ggheatmap,plotlist,theme){
if(max(plotlist)>length(ggheatmap$plotlist)){
message("The plotlist should be included in 1 ~",length(ggheatmap$plotlist))
}else{
for(i in 1:length(plotlist)){
num <- plotlist[i]
ggheatmap[[1]][[num]] <- ggheatmap[[1]][[num]]+theme[[i]]
}
}
return(ggheatmap)
}
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.