dot-epsilon_matrix: .epsilon_matrix

Description Usage Arguments Value

Description

Compute the epsilon matrix by permutation for the sGBJ_scores() function.

Usage

1
.epsilon_matrix(Z, nperm, surv, factor_matrix, covariates = NULL, dat)

Arguments

Z

the score vector returned by .survival_scores() function.

nperm

number of permutations performed to estimate the epsilon matrix. Default is 300.

surv

a Surv object of length n

factor_matrix

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

covariates

a n x l matrix of the covariates to adjust upon. Default is NULL

dat

data used to fit survival model returned by .survival_scores() function.

Value

The epsilon matrix.


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