View source: R/read_plink2_pgen_file.R
read_plink2_pgen_file | R Documentation |
PLINK2
.pgen
fileRead a PLINK2
.pgen
file
read_plink2_pgen_file(pgen_filename, names_loci, names_ind, verbose = FALSE)
pgen_filename |
name of a |
names_loci |
see read_bed |
names_ind |
see read_bed |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
a .pgen
table
Richèl J.C. Bilderbeek
use read_plink2_pgen_file_from_files to read
a PLINK2
.pgen
file with column and rownames obtained from
the two other PLINK2
data files
pgen_filename <- get_plinkr_filename(
"test_v1_7_after_make-bed_after_make-pgen.pgen"
)
read_plink2_pgen_file(
pgen_filename = pgen_filename,
names_loci = paste0("snp_", 1:2),
names_ind = paste0("person_", letters[1:6])
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.