exp_surv: exp_surv

View source: R/11_surv_box_plot.R

exp_survR Documentation

exp_surv

Description

draw surv plot for a hub gene expression matrix for tumor samples

Usage

exp_surv(exprSet_hub, meta, cut.point = FALSE, color = c("#2874C5", "#f87669"))

Arguments

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

Value

survival plots list for all genes

Author(s)

Xiaojie Sun

See Also

exp_boxplot;box_surv;draw_venn

Examples

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")

tinyarray documentation built on Aug. 18, 2023, 9:07 a.m.