Learn R Programming

hierGWAS (version 1.2.0)

simGWAS: Simulated GWAS data

Description

This data set was simulated using PLINK. Please refer to the vignette for more details.

Usage

simGWAS

Arguments

Value

Format

The dataset contains the following components:
SNP.1
The first SNP, of dimension 500 x 1. Each row represents a subject.
...
SNP.1000
The last SNP, of dimension 500 x 1. Each row represents a subject.
y
The response vector. It can be continuous or discrete.
sex
The first covariate, represeting the sex of the subjects: 0 for men and 1 for women.
age
The second covariate, represeting the age of the subjects.

Examples

Run this code
data(simGWAS)

Run the code above in your browser using DataLab