Description Usage Arguments Value Examples
Volcano plot of the log-changes in the target causal paramter against the log raw p-values from the moderated t-test.
1 | volcano_ic(biotmle, ate_bound = 1, pval_bound = 0.2)
|
biotmle |
object of class |
ate_bound |
A |
pval_bound |
A |
object of class ggplot
containing a standard volcano plot of
the log-fold change in the causal target parameter against the raw log
p-value computed from the moderated tests in modtest_ic
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
library(dplyr)
library(biotmleData)
library(SuperLearner)
library(SummarizedExperiment)
data(illuminaData)
colData(illuminaData) <- colData(illuminaData) %>%
data.frame() %>%
dplyr::mutate(age = as.numeric(age > median(age))) %>%
DataFrame()
benz_idx <- which(names(colData(illuminaData)) %in% "benzene")
biomarkerTMLEout <- biomarkertmle(
se = illuminaData,
varInt = benz_idx,
parallel = FALSE,
g_lib = c("SL.mean", "SL.glm"),
Q_lib = c("SL.bayesglm", "SL.glm")
)
limmaTMLEout <- modtest_ic(biotmle = biomarkerTMLEout)
volcano_ic(biotmle = limmaTMLEout)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.