sig_forest: Forest plot of survival analysis results.

View source: R/sig_forest.R

sig_forestR Documentation

Forest plot of survival analysis results.

Description

Forest plot of survival analysis results.

Usage

sig_forest(
  data,
  signature,
  pvalue = "P",
  HR = "HR",
  CI_low_0.95 = "CI_low_0.95",
  CI_up_0.95 = "CI_up_0.95",
  n = 10,
  max_character = 25,
  discrete_width = 35,
  color_option = 1
)

Arguments

data

survival result

signature

column of signatures

pvalue

P value of survival result

HR

Hazard ratio of survival result

CI_low_0.95

confidence interval

CI_up_0.95

confidence interval

n

maximum of signatures

max_character

maximum of character

discrete_width

discrete width, default is 35

color_option

default is 1, other option:2, 3

Author(s)

Dongqiang Zeng

Examples

sig_surv_result<- batch_surv(pdata = pdata_sig_tme_binary,variable = c(100:ncol(pdata_sig_tme_binary)))
sig_forest(data = sig_surv_result, signature = "ID")


IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.