Learn R Programming

xtune (version 2.0.0)

gene: Simulated gene data to predict weight loss

Description

The simulated gene data contains 50 observations, 200 predictors, and an continuous outcome, bone mineral density. The external information Z is four previous study results that identifies the biological importance of genes.

Usage

data(gene)

Arguments

Format

The gene object is a list containing three elements:

  • GeneExpression: Matrix of gene expression predictors.

  • bonedensity: Continuous outcome variable

  • PreviousStudy: Whether each gene is identified by previous study results.

See Also

diet

Examples

Run this code
data(gene)
X <- gene$GeneExpression
Y <- gene$bonedensity
Z <- gene$PreviousStudy
fit <- xtune(X,Y,Z)
fit$penalty.vector

Run the code above in your browser using DataLab