simGeno: Simulate genotypes from reference data

View source: R/simGeno.R

simGenoR Documentation

Simulate genotypes from reference data

Description

The function takes in a reference genotype data and generates simulated genotypes from the LD structure. Modified from Nicholas Mancuso's twas_sim.

Usage

simGeno(geno, n)

Arguments

geno

data.frame, reference panel SNPs

n

integer, samples size

Value

matrix of simulated genotypes


bhattacharya-a-bt/MOSTWAS documentation built on April 6, 2023, 12:20 a.m.