plink_hardy | R Documentation |
A wrapper for plink2's hardy
option.
In addition to the arguments listed below, the executable is run with --silent
and --nonfounders
(to use all individuals whether they are labeled as founders or not).
plink_hardy(
name,
name_out = name,
midp = FALSE,
plink_bin = "plink2",
threads = 0,
verbose = TRUE
)
name |
The shared name of the input plink BED/BIM/FAM files without extensions. |
name_out |
The base name of the output hardy file (default same as input |
midp |
If |
plink_bin |
The path to the binary executable.
Default assumes |
threads |
The number of threads to use.
The values 0 (default), NA, or NULL use all threads available (the output of |
verbose |
If |
The table of HWE statistics, as a tibble
, read with read_plink_hardy()
(see that for more info).
read_plink_hardy()
for reading hardy files.
delete_files_plink_hardy()
for deleting the hardy outputs.
delete_files_log()
for deleting plink log files.
system3()
, used (with ret = FALSE
) for executing plink2 and error handling.
## Not run:
# calculate desired statistics
data <- plink_hardy( name )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.