simdata | R Documentation |
An example simulation dataset used to demonstrate the usage of GLIDE. It is a list composed of a dataframe "simdat" and a dataframe "coeff"
data("simdata")
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
data("simdata") ls()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.