make_dataset: Simulate a dataset given a set of controls (without...

Usage Arguments Value Author(s)

Usage

1
make_dataset(df, N0, N1, CV, PWgY0, PWgY1)

Arguments

df

control dataset of genotypes to sample from, without phenotype

N0

number of samples with Y=0

N1

number of samples with Y=1

CV

which SNPs are causal?

PWgY0

the distribution of causal snps in controls

PWgY1

the distribution of causal snps in cases

Value

simulated genotype data for N0 controls and N1 cases

Author(s)

Mary Fortune


mdfortune/simGWAS documentation built on May 22, 2019, 3:25 p.m.