View source: R/hima_survival.R
hima_survival | R Documentation |
hima_survival
is used to estimate and test high-dimensional mediation effects for survival data.
hima_survival(
X,
M,
OT,
status,
COV = NULL,
topN = NULL,
scale = TRUE,
FDRcut = 0.05,
verbose = FALSE
)
X |
a vector of exposure. Do not use |
M |
a |
OT |
a vector of observed failure times. |
status |
a vector of censoring indicator ( |
COV |
a matrix of adjusting covariates. Rows represent samples, columns represent variables. Can be |
topN |
an integer specifying the number of top markers from sure independent screening.
Default = |
scale |
logical. Should the function scale the data? Default = |
FDRcut |
HDMT pointwise FDR cutoff applied to select significant mediators. Default = |
verbose |
logical. Should the function be verbose? Default = |
A data.frame containing mediation testing results of significant mediators (FDR <FDRcut
).
mediation name of selected significant mediator.
coefficient estimates of exposure (X) –> mediators (M) (adjusted for covariates).
standard error for alpha.
coefficient estimates of mediators (M) –> outcome (Y) (adjusted for covariates and exposure).
standard error for beta.
mediation (indirect) effect, i.e., alpha*beta.
relative importance of the mediator.
joint raw p-value of selected significant mediator (based on HDMT pointwise FDR method).
Zhang H, Zheng Y, Hou L, Zheng C, Liu L. Mediation Analysis for Survival Data with High-Dimensional Mediators. Bioinformatics. 2021. DOI: 10.1093/bioinformatics/btab564. PMID: 34343267; PMCID: PMC8570823
## Not run:
# Note: In the following example, M1, M2, and M3 are true mediators.
head(SurvivalData$PhenoData)
hima_survival.fit <- hima_survival(
X = SurvivalData$PhenoData$Treatment,
M = SurvivalData$Mediator,
OT = SurvivalData$PhenoData$Time,
status = SurvivalData$PhenoData$Status,
COV = SurvivalData$PhenoData[, c("Sex", "Age")],
scale = FALSE, # Disabled only for simulation data
FDRcut = 0.05,
verbose = TRUE
)
hima_survival.fit
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.