dat {Bayenet}R Documentation

simulated data for demonstrating the features of Bayenet.

Description

Simulated gene expression data for demonstrating the features of Bayenet.

Usage

data("dat")

Format

dat consists of four components: X, Y, clin, coef.

Details

The data model for generating Y

Use subscript ii to denote the iith subject. Let (Yi,Xi,clini)(Y_{i}, X_{i}, clin_{i}) (i=1,,ni=1,\ldots,n) be independent and identically distributed random vectors. YiY_{i} is a continuous response variable representing the cancer outcome and disease phenotype. XiX_{i} is the pp–dimensional vector of genetic factors. The clinical factors is denoted as the qq-dimensional vector cliniclin_{i}. The ϵ\epsilon follows some heavy-tailed distribution. Considering the following model:

Yi=α0+k=1qγkCik+j=1pβjXij+ϵi,Y_{i} = \alpha_{0} + \sum_{k=1}^{q}\gamma_{k}C_{ik}+\sum_{j=1}^{p}\beta_{j}X_{ij}+\epsilon_{i},

where α0\alpha_{0} is the intercept, γk\gamma_{k}'s and βj\beta_{j}'s are the regression coefficients corresponding to effects of clinical factors and genetic variants, respectively. Denote γ=(γ1,,γq)T\gamma=(\gamma_{1}, \ldots, \gamma_{q})^{T}, β=(β1,,βp)T\beta=(\beta_{1}, \ldots, \beta_{p})^{T}. Then model can be written as

Yi=Ciγ+Xiβ+ϵi.Y_{i} = C_{i}\gamma + X_{i}\beta + \epsilon_{i}.

See Also

Bayenet

Examples

data(dat)
dim(X)

[Package Bayenet version 0.2 Index]