survival_plot: Survival plots

Description Usage Arguments Value

View source: R/ORsurv.R

Description

requires projected matrix and survival info to plot survival and relevent plots

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
survival_plot(
  folder = "pdf",
  mat,
  mat_2,
  s,
  t = 3,
  name2 = "EXP_TCGA",
  name3 = "Survival_plot",
  month_limit,
  p_limit,
  selected_label
)

Arguments

folder

dir name to save pdf files

mat

prjected matrix getting after project of single cells and bulk TCGA data

mat_2

Labels for the two sub-populations

s

survival info

t

number of cluster

name2

specific for combine nameof single cell and bulk dataset names

name3

name for survival plots

month_limit

keeping survival info till specfic months, means number of months

p_limit

therosld to selecte clusters where pair-wise p val is less

selected_label

to pass already known cluster names out of all clusters

Value

surv_med would return median of each surv curve


krishan57gupta/ORsurv documentation built on Dec. 29, 2019, 4:56 p.m.