View source: R/11_surv_box_plot.R
exp_surv | R Documentation |
draw surv plot for a hub gene expression matrix for tumor samples
exp_surv(exprSet_hub, meta, cut.point = FALSE, color = c("#2874C5", "#f87669"))
exprSet_hub |
a tumor expression set for hubgenes |
meta |
meta data corresponds to expression set |
cut.point |
logical , use cut_point or not, if FALSE,use median by defult |
color |
color for boxplot |
survival plots list for all genes
Xiaojie Sun
exp_boxplot
;box_surv
;draw_venn
tmp = exp_surv(exprSet_hub1,meta1)
patchwork::wrap_plots(tmp)+patchwork::plot_layout(guides = "collect")
tmp2 = exp_surv(exprSet_hub1,meta1,cut.point = TRUE)
patchwork::wrap_plots(tmp2)+patchwork::plot_layout(guides = "collect")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.