View source: R/create_plink2_bin_data.R
create_plink2_bin_data | R Documentation |
PLINK2
binary dataCreate a set of PLINK2
binary data
create_plink2_bin_data(pgen_table, psam_table, pvar_table)
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 |
psam_table |
a tibble with as much rows as individuals. It has the following columns:
The uppercase column names are those as used by PLINK2. |
pvar_table |
a tibble with as much rows as SNPs. It has the following columns:
The uppercase column names are those as used by PLINK2. |
Richèl J.C. Bilderbeek
use create_test_plink_bin_data to create a set
of PLINK
binary data to be used in testing
create_plink2_bin_data(
pgen_table = get_test_pgen_table(),
psam_table = get_test_psam_table(),
pvar_table = get_test_pvar_table()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.