knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(plinkr)
Here we simulate a quantitative trait using PLINK.
Here we create the filename with parameters:
if (plinkr::is_plink_installed()) { results <- simulate_qt( simulate_qt_params = create_test_simulate_qt_params(), n_individuals = 2, temp_sim_filename = "temp.sim" ) knitr::kable(utils::head(results$simfreq)) }
clear_plinkr_cache()
check_empty_plinkr_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.