risk_plot
draw risk plot
risk_plot( exprSet_hub, meta, riskscore, cut.point = FALSE, color = c("#2fa1dd", "#f87669"), n_cutoff = 3 )
exprSet_hub
: a tumor expression set for hubgenesmeta
: meta data corresponds to expression setriskscore
: a numeric vector of riskscorecut.point
: logical , use cut_point or not, if FALSE,use median by defultcolor
: color for boxplotn_cutoff
: 3 by defalut , scale before plot and set a cutoff,usually 2 or 1.6risk plot
risk_plot(exprSet_hub1,meta1,riskscore = rnorm(nrow(meta1)))
exp_boxplot
;box_surv
;draw_venn
Xiaojie Sun