simBlockSet: Simulated genotype data

Description Usage Arguments Details Value

View source: R/utils.R

Description

generates a matrix of several LD blocks combined together

Usage

1
simBlockSet(config)

Arguments

config

A list cretaed by setConfiguration

Details

The LD blocks are generated separately and are combined in a greedy fashion. The process is generally as follows: 1) generate block_1 using the simBlock function 2) generate block_2 3) compare block_1 to block_2 using canonical correlation. 4) Accept block_2 as the next block in the sequence of LD blocks if the between block canonical correlation exceeds the user defined BLOCK_COR parameter.

Value

a matrix of several adjacent LD blocks of type genosim


weinstockj/gwassim documentation built on May 4, 2019, 4:18 a.m.