Skip to contents

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

Usage

QuantileData

Format

A list with the following components:

PhenoData

A data frame containing:

Treatment

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

Outcome

an abnormally 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(QuantileData)
head(QuantileData$PhenoData)
#>    Treatment   Outcome Sex Age
#> 1  1.2660838  3.303784   1  37
#> 2  0.2494073  1.119954   1  46
#> 3 -1.4294165 -2.194543   0  58
#> 4 -1.2095963 -1.410079   0  63
#> 5  2.9513044 12.654794   0  62
#> 6  0.2592669  4.935507   0  27