View source: R/generate_individuals.r
ascertain_samples | R Documentation |
Ascertain some proportion of cases and controls from binary phenotype
ascertain_samples(d, prop_cases)
d |
Vector of 1/0 |
prop_cases |
Proportion of 1s to retain |
Array of IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.