Learn R Programming

coloc (version 5.2.3)

coloc_test_data: Simulated data to use in testing and vignettes in the coloc package

Description

Simulated data to use in testing and vignettes in the coloc package

Usage

data(coloc_test_data)

Arguments

Format

A four of two coloc-style datasets. Elements D1 and D2 have a single shared causal variant, and 50 SNPs. Elements D3 and D4 have 100 SNPs, one shared causal variant, and one variant unique to D3. Use these as examples of what a coloc-style dataset for a quantitative trait should look like.

Examples

Run this code
data(coloc_test_data)
names(coloc_test_data)
str(coloc_test_data$D1)
check_dataset(coloc_test_data$D1) # should return NULL if data structure is ok

Run the code above in your browser using DataLab