hima_dblasso | R Documentation |
hima_dblasso
is used to estimate and test high-dimensional mediation effects using de-biased lasso penalty.
hima_dblasso(
X,
M,
Y,
COV = NULL,
topN = NULL,
scale = TRUE,
FDRcut = 0.05,
verbose = FALSE
)
X |
a vector of exposure. Do not use |
M |
a |
Y |
a vector of outcome. Can be either continuous or binary (0-1). Do not use |
COV |
a |
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).
Perera C, Zhang H, Zheng Y, Hou L, Qu A, Zheng C, Xie K, Liu L. HIMA2: high-dimensional mediation analysis and its application in epigenome-wide DNA methylation data. BMC Bioinformatics. 2022. DOI: 10.1186/s12859-022-04748-1. PMID: 35879655; PMCID: PMC9310002
## Not run:
# Note: In the following examples, M1, M2, and M3 are true mediators.
# Y is continuous and normally distributed
# Example:
head(ContinuousOutcome$PhenoData)
hima_dblasso.fit <- hima_dblasso(
X = ContinuousOutcome$PhenoData$Treatment,
Y = ContinuousOutcome$PhenoData$Outcome,
M = ContinuousOutcome$Mediator,
COV = ContinuousOutcome$PhenoData[, c("Sex", "Age")],
scale = FALSE, # Disabled only for simulation data
FDRcut = 0.05,
verbose = TRUE
)
hima_dblasso.fit
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.