Ascertain some proportion of cases and controls from binary phenotype

ascertain_samples(d, prop_cases)

Arguments

d

Vector of 1/0

prop_cases

Proportion of 1s to retain

Value

Array of IDs