box_surv {tinyarray}R Documentation

box_surv

Description

draw box plot for a hub gene expression matrix

Usage

box_surv(exp_hub, exprSet_hub, meta)

Arguments

exp_hub

an expression matrix for hubgenes

exprSet_hub

a tumor expression set for hubgenes

meta

meta data corresponds to expression set

Value

patchwork result for hub genes boxplot and survival plot

Author(s)

Xiaojie Sun

See Also

exp_boxplot;exp_surv

Examples

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

[Package tinyarray version 2.4.2 Index]