SNV_sparse: Simulated Single Nucleotide Variants (SNVs) Data in Sparse...

Description Usage Format

Description

A simulated dataset containing 1,000 subjects and 100 SNVs. 1% of the variants are simulated to be causal/associated. Effect strengths are randomly sampled from U(-0.5, 0.5) distribution.

Usage

1

Format

A list object.

SNV

A 1,000 by 300 matrix containing the genotypes. Each component of the matrix denotes the number of minor alleles.

trait

A vector of length 1,000 containing a continuous trait.

zero_var

Indexes for columns with no variation. These columns should be removed if SNV is further used by perm_score, wAF and wAFd functions.


songbiostat/wAF documentation built on Feb. 26, 2021, 6:24 p.m.