make_dataset_pheno: Simulate a dataset given a set of controls (with phenotype)...

Usage Arguments Value Author(s)

View source: R/make_dataset.R

Usage

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

Arguments

df

dataset of genotypes to sample from, with 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, 2017, 2:11 a.m.