if (FALSE) {
# Note: In the following example, M1, M2, and M3 are true mediators.
head(MicrobiomeData$PhenoData)
hima_microbiome.fit <- hima_microbiome(
X = MicrobiomeData$PhenoData$Treatment,
Y = MicrobiomeData$PhenoData$Outcome,
OTU = MicrobiomeData$Mediator,
COV = MicrobiomeData$PhenoData[, c("Sex", "Age")],
FDRcut = 0.05,
verbose = TRUE
)
hima_microbiome.fit
}
Run the code above in your browser using DataLab