View source: R/theoretical_coi.R
theoretical_coi | R Documentation |
Generate the theoretical relationship between the WSMAF (\mjseqn\bfw), the PLMAF (\mjseqn\bfp), and the COI (\mjseqnk).
theoretical_coi(
coi_range,
plmaf = seq(0, 0.5, length.out = 101),
coi_method = c("variant", "frequency")
)
coi_range |
The COIs for which the relationship will be generated. |
plmaf |
The population-level minor allele frequency over which the relationship will be generated. |
coi_method |
The method we will use to generate the theoretical relationship. The method is either "variant" or "frequency". The default value is "variant". |
A tibble()
containing the generated values. Each
column is named with the COI used. The last column of the tibble contains the
PLMAF.
theoretical_coi(1:5)
theoretical_coi(1:5, coi_method = "frequency")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.