estimateEffect: Compute the estimated effect of the model covariates on...

Description Usage Arguments Value

View source: R/utils.R

Description

Compute the estimated effect of the model covariates on signature contribution

Usage

1
estimateEffect(mod0, X, niter, sig_number, to_plot = TRUE)

Arguments

mod0

: fitted model from STRAND

niter

: number of simulations to draw for the estimation of the effect (default = 1000)

X:

design matrix with the covariates you wish to estimate the effect of

sig_number:

number of the signature you want to estimate the effect of (i.e. 1, or 2, etc.)

to_plot:

boolean indicating whether you want to plot the effect (default = TRUE)

Value

a list containing the summary of the coefficients including p-values, simulated draws, and ggplot object.


emauryg/STRAND_R documentation built on Dec. 20, 2021, 4:22 a.m.