zimed: The effect decomposition of mediation analysis for...

View source: R/zimed.R

zimedR Documentation

The effect decomposition of mediation analysis for zero-inflated models in microbiome data

Description

The effect decomposition of mediation analysis for zero-inflated models in microbiome data

Usage

zimed(M_mat, Treat, Outcome, method, ci.method)

Arguments

M_mat

a data frame or matrix of the microbiome count data. Rows of the matrix represent samples and columns are the taxa

Treat

a binary vector of group indicators

Outcome

a continuous outcome

method

methods for testing the H0 hypothesis, including joint, HDMT or DACT

ci.method

methods for calculating confidence interval, including bootstrap or delta

Value

NIE the estimated natural indirect effect

NIE.p the calculated p value for NIE

NIE.ci the calculated confidence interval for NIE

NIEA the estimated natural indirect effect through changes of abundance

NIEA.p the calculated p value for NIEA

NIEA.ci the calculated confidence interval for NIEA

NIEP the estimated natural indirect effect through changes of absence/presence

NIEP.p the calculated p value for NIEP

NIEP.ci the calculated confidence interval for NIEP


liudoubletian/ZIMED documentation built on April 11, 2022, 12:05 a.m.