Learn R Programming

RFGLS (version 1.0)

pheno: Simulated quantitative-trait dataset

Description

A dataset of observations on a normally distributed phenotype, generated with means conditional on genotype at the effect locus. All six family-types recognized in package RFGLS are represented.

Usage

data(pheno)

Arguments

Details

Each family's phenotype scores were generated from a multivariate normal distribution (mvrnorm in package mvtnorm) with a centroid defined conditional upon the family members' genotypes on the effect locus (rs7681769 in dataset geno), and a variance matrix with 1s on its diagonal and covariances (really, correlations) consistent with an additive heritability of 0.5 and a shared-environmentality of 0.2.

Examples

Run this code
data(pheno)
str(pheno)
qqnorm(pheno$Zscore); qqline(pheno$Zscore)  ##<--Normally distributed phenotype.
##Also see examples for functions fgls(), gls.batch(), and gls.batch.get().

Run the code above in your browser using DataLab