Learn R Programming

tinyarray (version 2.4.3)

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

Value

survival plots list for all genes

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

Author

Xiaojie Sun

See Also

exp_boxplot;box_surv;draw_venn

Examples

Run this code
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")

Run the code above in your browser using DataLab