surv_KM: surv_KM

View source: R/10_survival_cut_cox_km.R

surv_KMR Documentation

surv_KM

Description

calculate log_rank test p values for genes

Usage

surv_KM(
  exprSet_hub,
  meta,
  cut.point = FALSE,
  pvalue_cutoff = 0.05,
  min_gn = 0.1
)

Arguments

exprSet_hub

a tumor expression set for hubgenes

meta

meta data corresponds to expression set

cut.point

logical , use cut_point or not, if FALSE,use median by defult

pvalue_cutoff

p value cut off ,0.05 by defult

min_gn

Depending on the expression of a gene, there may be a large difference in the number of samples between the two groups, and if a smaller group of samples is less than 10 percent (default) of all, the gene will be discarded

Value

a vector with gene names and log_rank p value

Author(s)

Xiaojie Sun

See Also

point_cut;surv_cox

Examples

surv_KM(exprSet_hub1,meta1)
surv_KM(exprSet_hub1,meta1,pvalue_cutoff = 1)
surv_KM(exprSet_hub1,meta1,cut.point = TRUE)

tinyarray documentation built on Aug. 18, 2023, 9:07 a.m.