bs_dense: Simulated Methylation Data with B-spline Effects in Dense...

Description Usage Format

Description

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

Usage

1

Format

A list object.

trait

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

methyl

A 500 by 100 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.