.survival_scores {sGBJ}R Documentation

.survival_scores

Description

Compute the survival score

Usage

.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.


[Package sGBJ version 0.1.0 Index]