Skip to contents

A dataset containing phenotype data and high-dimensional compositional mediators (e.g., microbiome). The dataset was simulated using parameters generated from real data.

Usage

MicrobiomeData

Format

A list with the following components:

PhenoData

A data frame containing:

Treatment

treated (value = 1) or not treated (value = 0).

Outcome

a normally distributed continuous outcome variable.

Sex

female (value = 1) or male (value = 0).

Age

age of the participant.

Mediator

A matrix of high-dimensional compositional mediators (rows: samples, columns: variables).

Examples

data(MicrobiomeData)
head(MicrobiomeData$PhenoData)
#>   Treatment   Outcome Sex Age
#> 1         0 4.8584340   0  59
#> 2         1 2.8420944   0  33
#> 3         0 1.7659530   1  63
#> 4         0 3.8308817   1  47
#> 5         1 1.5642848   0  21
#> 6         0 0.1988363   1  23