View source: R/read_plink2_pgen_file_from_files.R
read_plink2_pgen_file_from_files | R Documentation |
PLINK2
.pgen
file
using a .psam
and .pvar
file.Read a PLINK2
.pgen
file
using a .psam
and .pvar
file.
These two accessory files are used to extract the names
of the individuals and the names of the loci.
Use read_plink2_pgen_file to read a .pgen
file
without those two accessory files.
read_plink2_pgen_file_from_files(
pgen_filename,
psam_filename,
pvar_filename,
verbose = FALSE
)
pgen_filename |
name of a |
psam_filename |
name of a |
pvar_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
read_plink2_pgen_file_from_files(
pgen_filename = get_plinkr_filename(
"toy_v1_9_after_make-bed_after_make-pgen.pgen"
),
psam_filename = get_plinkr_filename(
"toy_v1_9_after_make-bed_after_make-pgen.psam"
),
pvar_filename = get_plinkr_filename(
"toy_v1_9_after_make-bed_after_make-pgen.pvar"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.