get_sig_pathway function

A function that returns significant pathways.

A function that returns significant pathways.

get_sig_pathway(res_SMAHP)

Arguments

  • res_SMAHP: Outputs from SMAHP

Returns

A data frame which includes the name of exposure and mediator with adjusted p-value from identified significant pathways.

Examples

data(example_dat) surv_dat <- example_dat$surv_dat res_SMAHP <- SMAHP(example_dat$X, example_dat$M, example_dat$C, time = surv_dat$time, status = surv_dat$status) get_sig_pathway(res_SMAHP)
  • Maintainer: Weijia Fu
  • License: GPL-3
  • Last published: 2025-03-24

Useful links