View source: R/11_surv_box_plot.R
box_surv | R Documentation |
draw box plot for a hub gene expression matrix
box_surv(exp_hub, exprSet_hub, meta)
exp_hub |
an expression matrix for hubgenes |
exprSet_hub |
a tumor expression set for hubgenes |
meta |
meta data corresponds to expression set |
patchwork result for hub genes boxplot and survival plot
Xiaojie Sun
exp_boxplot
;exp_surv
if(requireNamespace("ggpubr",quietly = TRUE)) {
k = box_surv(log2(exp_hub1+1),exprSet_hub1,meta1);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.