Functions can be used for batch survival analysis, but not only for it. Most importantly, it can verify any P-value calculated according to the gene expression level and eliminate the influence of co-expression genes.
copied from cf-staging / r-survival666