fourier_sparse: Simulated Methylation Data with Fourier Effects in Sparse...

Description Usage Format

Description

A simulated dataset containing 500 subjects and 93 methylation sites. Methylation effects are smoothed by Fourier basis functions. 1% of the basis functions are simulated to be causal/associated. Effect strengths are randomly sampled from U(-5, 5) distribution.

Usage

1

Format

A list object.

trait

A vector of length 500 containing disease labels (254 cases and 246 controls).

methyl

A 500 by 93 matrix containing methylation levels. Each row represents the methylation profile for one subject. Each element of the matrix denotes BS-seq methylation level at a CpG site.

pos

Locations for CpG sites (in base pairs).


cxystat/AFb documentation built on June 17, 2021, 7:30 p.m.