View source: R/save_pgen_table.R
save_pgen_table | R Documentation |
.pgen
table to file.Save a .pgen
table to file
save_pgen_table(pgen_table, pgen_filename, verbose = FALSE)
pgen_table |
an array that maps the individuals to their SNPs, with as much rows as individuals, and as much SNPs as columns. Optionally, the row names are the individuals' IDs, where the column names are the SNP ID's |
pgen_filename |
name of a |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
Richèl J.C. Bilderbeek
pgen_table <- get_test_pgen_table()
pgen_filename <- get_plinkr_tempfilename(fileext = ".pgen")
if (1 == 2) {
save_pgen_table(
pgen_table = pgen_table,
pgen_filename = pgen_filename
)
file.remove(pgen_filename)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.