risk_plot {tinyarray} | R Documentation |
risk_plot
Description
draw risk plot
Usage
risk_plot(
exprSet_hub,
meta,
riskscore,
cut.point = FALSE,
color = c("#2fa1dd", "#f87669"),
n_cutoff = 3
)
Arguments
exprSet_hub |
a tumor expression set for hubgenes |
meta |
meta data corresponds to expression set |
riskscore |
a numeric vector of riskscore |
cut.point |
logical , use cut_point or not, if FALSE,use median by defult |
color |
color for boxplot |
n_cutoff |
3 by defalut , scale before plot and set a cutoff,usually 2 or 1.6 |
Value
risk plot
Author(s)
Xiaojie Sun
See Also
exp_boxplot
;box_surv
;draw_venn
Examples
risk_plot(exprSet_hub1,meta1,riskscore = rnorm(nrow(meta1)))
[Package tinyarray version 2.4.2 Index]