ascertain_samples: Ascertain some proportion of cases and controls from binary...

View source: R/generate_individuals.r

ascertain_samplesR Documentation

Ascertain some proportion of cases and controls from binary phenotype

Description

Ascertain some proportion of cases and controls from binary phenotype

Usage

ascertain_samples(d, prop_cases)

Arguments

d

Vector of 1/0

prop_cases

Proportion of 1s to retain

Value

Array of IDs


explodecomputer/simulateGP documentation built on April 3, 2024, 2:38 a.m.