get_sig_pathway: A function that returns significant pathways.

View source: R/get_sig_pathway.R

get_sig_pathwayR 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)


SMAHP documentation built on April 4, 2025, 1:36 a.m.