Learn R Programming

GSAgm (version 1.0)

testdata: Test data

Description

A dummy dataset for testing these functions. It contains two covariates (age and study), SNP data, and phenotype (coded 0/1).

Usage

data(testdata)

Arguments

Format

A data frame with 150 observations on the following 18 variables.
age
a numeric vector
study
a factor with levels AAA BBB CCC
snp1
a numeric vector
snp2
a numeric vector
snp3
a numeric vector
snp4
a numeric vector
snp5
a numeric vector
snp6
a numeric vector
snp7
a numeric vector
snp8
a numeric vector
snp9
a numeric vector
snp10
a numeric vector
snp11
a numeric vector
snp12
a numeric vector
snp13
a numeric vector
snp14
a numeric vector
snp15
a numeric vector
pheno
a numeric vector

Examples

Run this code
data(testdata)
## maybe str(testdata) ; plot(testdata) ...

Run the code above in your browser using DataLab