Nothing
cat("#", title, "{.tabset}")
if(inherits(cem@sample_tree_plot, "grob")){ grid::grid.draw(cem@sample_tree_plot) }else{ writeLines("Please create sample tree plot!") }
if(inherits(cem@mean_var_plot, "gg")){ print(cem@mean_var_plot) }else{ writeLines("Please create mean variance plot!") }
if(inherits(cem@qq_plot, "gg")){ print(cem@qq_plot) }else{ writeLines("Please create quantile-quantile plot!") }
if(inherits(cem@hist_plot, "gg")){ print(cem@hist_plot) }else{ writeLines("Please create expression histogram!") }
error_if_s4 <- tryCatch(cem@beta_r2_plot[[1]], error=function(e) e) if(inherits(error_if_s4, "error")){ writeLines("### Please create Beta x R2 plot!") }else{ print(cem@beta_r2_plot[[1]]) }
error_if_s4 <- tryCatch(cem@mean_k_plot[[1]], error=function(e) e) if(inherits(error_if_s4, "error")){ writeLines("### Please create mean connectivity plot!") }else{ print(cem@mean_k_plot[[1]]) }
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.