dot-survival_scores: .survival_scores

Description Usage Arguments Value

Description

Compute the survival score

Usage

1
.survival_scores(factor_matrix, covariates = NULL, surv)

Arguments

factor_matrix

a n x p data.frame of the expression for the particular gene set of interest being tested

covariates

a matrix nxl of the covariates to adjust. Default is NULL

surv

a Surv object of length n

Value

A list of length 3 with the updated factor_matrix (same as factor_matrix but removing columns for which survival model failed to converge), the Z matrix and the data used to fit survival model.


sGBJ documentation built on Sept. 16, 2021, 1:07 a.m.