View source: R/generate_data.R
GenAnno | R Documentation |
Returns a vector of length = the number of columns (SNPs) in the genotype
matrix. Each SNP is categorized into one of L categories, where L is
determined by the length of prop_anno
.
GenAnno(snps, prop_anno = c(0.5, 0.4, 0.1))
snps |
Number of SNPs in the gene. |
prop_anno |
Proportions of annotations in each category. Length should equal the number of annotation categories. Default of c(0.5, 0.4, 0.1) is based on the approximate empirical frequencies of BMVs, DMVs, and PTVs. |
(snps x 1) integer vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.