View source: R/get_minor_alelle_frequencies.R
get_minor_alelle_frequencies | R Documentation |
Get the minor allele frequencies from genetic data
get_minor_alelle_frequencies(
data,
plink_options = create_plink_options(),
temp_folder = plinkr::get_plinkr_tempfilename(),
verbose = FALSE
)
data |
the data source, which can be:
|
plink_options |
options to run PLINK, as created by create_plink_options |
temp_folder |
temporary folder to store results in |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
the minor allele frequecies
Richèl J.C. Bilderbeek
if (is_plink_installed()) {
assoc_qt_data <- create_demo_assoc_qt_data()
# PLINK text data
get_minor_alelle_frequencies(assoc_qt_data$data)
# PLINK binary data
assoc_qt_data$data <- convert_plink_text_data_to_plink_bin_data(
assoc_qt_data$data
)
get_minor_alelle_frequencies(assoc_qt_data$data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.