Learn R Programming

SMAHP (version 0.0.5)

get_sig_pathway: A function that returns significant pathways.

Description

A function that returns significant pathways.

Usage

get_sig_pathway(res_SMAHP)

Value

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

Arguments

res_SMAHP

Outputs from SMAHP

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab