| simdata {GLIDE} | R Documentation |
An example dataset to demonstrate the usage of GLIDE
Description
An example simulation dataset used to demonstrate the usage of GLIDE. It is a list composed of a dataframe "simdat" and a dataframe "coeff"
Usage
data("simdata")
Format
coeff is a one-column dataframe. It consists of exposure coefficients of genotypes of 75 SNPs. simdat is a data frame consisting of 20000 observations. It has 81 columns, with 75 columns for genotypes of 75 SNPs and 6 columns of following covariates:
agean integer vector to indicate age
sexa factor vector to indicate gender
pc1a numeric vector of the first principal component of genotypes
pc2a numeric vector of the second principal component of genotypes
pc3a numeric vector of the third principal component of genotypes
outcomea factor vector to indicate the outcome, 1/0
Examples
data("simdata")
ls()
[Package GLIDE version 1.0.5 Index]