Learn R Programming

tinyarray (version 2.4.3)

box_surv: box_surv

Description

draw box plot for a hub gene expression matrix

Usage

box_surv(exp_hub, exprSet_hub, meta)

Value

patchwork result for hub genes boxplot and survival plot

Arguments

exp_hub

an expression matrix for hubgenes

exprSet_hub

a tumor expression set for hubgenes

meta

meta data corresponds to expression set

Author

Xiaojie Sun

See Also

exp_boxplot;exp_surv

Examples

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

Run the code above in your browser using DataLab