View source: R/require_files_tped.R
require_files_tped | R Documentation |
This function checks that each of the Plink transposed files (TPED/TFAM extensions) are present, given the shared base file path, stopping with an informative message if any of the files is missing. This function aids troubleshooting, as various downstream external software report missing files differently and sometimes using confusing or obscure messages.
require_files_tped(file)
file |
The shared file path (excluding extensions |
Nothing
plink1_bed_to_tped()
for creating TPED/TFAM files from BED/BIM/FAM files.
emmax_kin()
, emmax_lmm()
for functions that require TPED/TFAM files.
## Not run:
# to require "data.tped" and "data.tfam", run like this:
# (stops if any of the files is missing)
require_files_tped("data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.