Learn R Programming

bastah (version 1.0.7)

snps: SNP data set

Description

Simulated Single Polymorphism Nucleotide (SNP) dataset containing $n=100$ observations of $p=500$ predictors (SNPs, 1=Homozygote1, 0=Heterozygote, -1=Homozygote2) and a one-dimensional response (1=case, 0=control). The dataset is generated using GWAsimulator.

Usage

data(snps)

Arguments

Format

y
Phenotype (1=case, 0=control) of 100 individuals.
x
SNP genotype data (SNPs, 1=Homozygote1, 0=Heterozygote, -1=Homozygote2) of 500 simulated SNPs.

References

C. Li and M. Li (2008) GWAsimulator: a rapid whole-genome simulation program. Bioinformatics 24 (1): 140-142.