-
Notifications
You must be signed in to change notification settings - Fork 5
/
data.R
44 lines (42 loc) · 2.06 KB
/
data.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#' @title A simulated dataset for LUCID
#'
#' @description This is an example dataset to illustrate LUCID model. It is simulated
#' by assuming there are 2 latent clusters in the data. We assume the exposures
#' are associated with latent cluster which ultimately affects the PFAS concentration
#' and liver injury in children. The latent clusters are also characterized by
#' differential levels of metabolites.
#'
#' @format A list with 5 matrices corresponding to exposures (G), omics data (Z),
#' a continuous outcome, a binary outcome and 2 covariates (can be used either
#' as CoX or CoY). Each matrice contains 2000 observations.
#' \describe{
#' \item{G}{10 exposures}
#' \item{Z}{10 metabolites}
#' \item{Y_normal}{Outcome, PFAS concentration in children}
#' \item{Y_bninary}{Bianry outcome, liver injury status}
#' \item{Covariates}{2 continous covariates, can be treated as either CoX or
#' CoY}
#' \item{X}{Latent clusters}
#' }
"sim_data"
#' @title HELIX data
#'
#' @description The Human Early-Life Exposome (HELIX) project is multi-center
#' research project that aims to characterize early-life environmental exposures
#' and associate these with omics biomarkers and child health outcomes (Vrijheid, 2014. doi: 10.1289/ehp.1307204).
#' We used a subset of HELIX data from Exposome Data Challenge 2021 (hold by
#' ISGlobal) as an example to illustrate LUCID model.
#'
#' @format A list with 4 matrices corresponding to exposures (G), omics data (Z),
#' outcome (Y) and covariates (CoY)
#' \describe{
#' \item{exposure}{8 exposures to environmental pollutants. Variables end with
#' m represent maternal exposures; end with c represent children exposures}
#' \item{omics}{10 proteins}
#' \item{outcome}{A continuous outcome for BMI-z score based on WHO standard,
#' A binary outcome for body mass index categories at 6-11 years old based on
#' WHO reference (0: Thinness or Normal; 1: Overweight or Obese)}
#' \item{covariate}{3 covariates including mother's bmi, child sex, maternal
#' age}
#' }
"helix_data"