Learn R Programming

HIMA (version 2.2.0)

Example4: Example dataset 4 for HIMA: Compositional mediator (e.g., microbiome)

Description

A list dataset containing a phenotype dataset and a compositional mediator dataset (n=200 participants, p=50 biomarkers). The variables in the phenotype are as follows:

Usage

Example4

Arguments

Value

A list containing two objects: PhenoData and Mediator

Format

An object of class list of length 2.

Details

  • Treatment: treated (value = 1) or not treated (value = 0)

  • Outcome: outcome of the treatment- a normally distributed continuous variable

  • Sex: female (value = 1) or male (value = 0)

  • Age: Age of the participant

The datasets are simulated using parameters generated from a real dataset. The code used to generate the data can be found in /inst/script folder of the package.