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:
age
an integer vector to indicate age
sex
a factor vector to indicate gender
pc1
a numeric vector of the first principal component of genotypes
pc2
a numeric vector of the second principal component of genotypes
pc3
a numeric vector of the third principal component of genotypes
outcome
a factor vector to indicate the outcome, 1/0
Examples
data("simdata")
ls()
[Package GLIDE version 1.0.5 Index]