get_sig_pathway {SMAHP} | R Documentation |
A function that returns significant pathways.
Description
A function that returns significant pathways.
Usage
get_sig_pathway(res_SMAHP)
Arguments
res_SMAHP |
Outputs from SMAHP |
Value
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)
[Package SMAHP version 0.0.5 Index]