View source: R/11_surv_box_plot.R
exp_boxplot | R Documentation |
draw box plot for a hub gene expression matrix
exp_boxplot(exp_hub, color = c("#2fa1dd", "#f87669"))
exp_hub |
an expression matrix for hubgenes |
color |
color for boxplot |
box plots list for all genes in the matrix
Xiaojie Sun
exp_surv
;box_surv
if(requireNamespace("ggpubr",quietly = TRUE)) {
k = exp_boxplot(log2(exp_hub1+1));k[[1]]
}else{
warning("Package 'ggpubr' needed for this function to work.
Please install it by install.packages('ggpubr')")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.