surivival_analysis_multiple_groups: surivival_analysis_multiple_groups

View source: R/Gene_Select_And_Surv.R

surivival_analysis_multiple_groupsR Documentation

surivival_analysis_multiple_groups

Description

Survival analysis and plottding of the clustering results. https://www.reneshbedre.com/blog/survival-analysis.html

Usage

surivival_analysis_multiple_groups(
  pheno_data,
  out_one_D,
  thr_groups = 50,
  ylim_val = c(0.5, 1),
  xlim_val = c(0, 200),
  type = "node",
  selected_nodes_2 = ""
)

Arguments

pheno_data

data.frame with phenotype data. Must include a columns called pCh_DFS_E, pCh_DFS_T, and pCh_Status including the event, time to relapse, and the status of the sample T: Disease NT: healthy

out_one_D

Mapper output.

thr_groups

Minimum number of samples to include a node in the analysis.

ylim_val

y-axis limits for survival plot.

xlim_val

x-axis limits for survival plot.

type

Divide by node or by pam50 in the latter case a column pam50_frma containing the pam50 classification will be requested.

selected_nodes_2

subset of nodes to compare.

Examples

## Not run: 
surivival_analysis_multiple_groups(pheno_data,out_one_D,thr_groups = 50,ylim_val = c(0.5, 1),xlim_val =  c(0,200),type = "node")

## End(Not run)

jfores/SurvMap documentation built on May 30, 2022, 10:57 p.m.