SIS_combo function

SIS combo

SIS combo

A function for SIS + SIS combo.

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.

Returns

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)
  • Maintainer: Weijia Fu
  • License: GPL-3
  • Last published: 2025-03-24

Useful links