SIS_combo {SMAHP}R Documentation

SIS combo

Description

A function for SIS + SIS combo.

Usage

SIS_combo(X, M, C, time, status, p_adjust_option = "BH", thres = 0.05)

Arguments

X

An n by p matrix of exposures.

M

An n by p matrix of mediators.

C

An n by p matrix of covariates.

time

A vector of survival time of samples.

status

A vector of status indicator: 0=alive, 1=dead.

p_adjust_option

The method for multiple correction. Option include q-value, holm, hochberg, hommel, bonferroni, BH, BY, and fdr. Default is BH.

thres

Threshold for determining significance.

Value

A list which includes the final p-value matrix (p_final_matrix), adjusted p-value matrix (p_adjusted_matrix) and mediation-exposure matrix (p_med_matrix).

Examples

data(example_dat)
surv_dat <- example_dat$surv_dat
SIS_combo(example_dat$X, example_dat$M, example_dat$C, time = surv_dat$time,
status = surv_dat$status)



[Package SMAHP version 0.0.5 Index]