View source: R/convert_plink_bin_data_to_plink2_bin_data.R
convert_plink_bin_data_to_plink2_bin_data | R Documentation |
PLINK
binary data to PLINK2
binary dataConvert the PLINK
binary data to PLINK2
binary data
convert_plink_bin_data_to_plink2_bin_data(
plink_bin_data,
plink_options = create_plink_v2_0_options(),
verbose = FALSE
)
plink_bin_data |
the in-memory binary data for |
plink_options |
options to run PLINK, as created by create_plink_options |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
the same list that was used as input, except that the following elements
bim_table
(see check_bim_table)
fam_table
(see check_fam_table)
bed_table
(see check_bed_table)
are replaced by:
pgen_table
(see check_pgen_table)
psam_table
(see check_psam_table)
pvar_table
(see check_pvar_table)
The other list elements are left as-is.
Richèl J.C. Bilderbeek
these are the functions to convert between the PLINK
and
PLINK2
formats:
To convert from PLINK1 text data
to PLINK1 binary data: use convert_plink_text_data_to_plink_bin_data
to PLINK2 binary data, use convert_plink_text_data_to_plink2_bin_data
To convert from PLINK1 binary data
to PLINK text data, use convert_plink_bin_data_to_plink_text_data
to PLINK2 binary data, use convert_plink_bin_data_to_plink2_bin_data
To convert from PLINK2 binary data
to PLINK text data, use convert_plink2_bin_data_to_plink_text_data
to PLINK binary data, use convert_plink2_bin_data_to_plink_bin_data
if (is_plink_installed(plink_options = create_plink_v1_9_options())) {
convert_plink_text_data_to_plink_bin_data(
plink_text_data = create_test_plink_text_data()
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.