Skip to contents

A dataset containing phenotype data and high-dimensional mediators for continuous outcome analysis. The dataset was simulated using parameters generated from real data.

Usage

ContinuousOutcome

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 mediators (rows: samples, columns: variables).

Examples

data(ContinuousOutcome)
head(ContinuousOutcome$PhenoData)
#>   Treatment   Outcome Sex Age
#> 1         1 3.9535874   0  19
#> 2         1 4.9808737   0  25
#> 3         1 6.3215341   1  56
#> 4         0 3.9490133   0  56
#> 5         0 0.2820298   0  50
#> 6         1 2.0730989   1  37