vcexample {vcpen}R Documentation

Example data for Penalized Variance Component method

Description

Datasets for an example run of vcpen with 4 variance components calculated as kernel matrices from genotype dosage (dose) on 100 subjects with two covariates (covmat), and a continuous response.

Format

The example contains three data.frames and a response vector for 100 subjects at 70 SNPs accross 4 variance components:

covmat

two arbitrary covariates (columns) for 100 subjects (rows)

dose

genotype dosage at 70 SNPs (columns) and 100 subjects (rows)

doseinfo

2-column matrix with indices for grouping SNPs into variance components (for Kernel Matrix)

response

continuous response vector for 100 subjects

Examples

data(vcexample)
dim(dose)
dim(doseinfo)
dim(covmat)
length(response)

[Package vcpen version 1.9 Index]