View source: R/allele_frequencies.R
allele_frequencies | R Documentation |
Compute allele frequencies per markers and populations. Used internally in radiator and might be of interest for users.
allele_frequencies(
data,
verbose = TRUE,
parallel.core = parallel::detectCores() - 1
)
data |
A tidy data frame object in the global environment or
a tidy data frame in wide or long format in the working directory.
How to get a tidy data frame ?
Look into radiator |
verbose |
(optional, logical) |
parallel.core |
(optional) The number of core used for parallel
execution during import.
Default: |
A list with allele frequencies in a data frame in long and wide format, and a matrix. Local (pop) and global minor allele frequency (MAF) is also computed.
Thierry Gosselin thierrygosselin@icloud.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.