Learn R Programming

HIMA (version 2.2.0)

Example1: Example dataset 1 for HIMA: Continuous outcome

Description

A list dataset containing a phenotype dataset and a high-dimension mediator dataset (n=300 participants, p=300 biomarkers). The variables in the phenotype are as follows:

Usage

Example1

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.