risk_plot: risk_plot

View source: R/11_surv_box_plot.R

risk_plotR 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, whether to use cut_point; if FALSE, use the median as the cutoff.

color

color for boxplot

n_cutoff

numeric cutoff used after scaling; values outside [-n_cutoff, n_cutoff] are truncated before plotting.

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)))


tinyarray documentation built on Aug. 2, 2026, 9:07 a.m.