emmax_kin | R Documentation |
Uses emmax-kin
with default option to estimate the kinship matrix.
The output file will be named name
.BN.kinf using the input name below (emmax-kin does not allow the input and output names to be different).
emmax_kin(name, emmax_kin_bin = "emmax-kin", verbose = TRUE)
name |
The shared name of the input plink TPED/TFAM files without extensions. |
emmax_kin_bin |
The path to the binary executable.
Default assumes |
verbose |
If |
Nothing (the kinship matrix is not read in; see example below for reading with a different function).
genio::read_matrix()
for reading plain-text matrices.
plink1_bed_to_tped()
for creating TPED/TFAM files from BED/BIM/FAM files.
require_files_tped()
for requiring that the TPED/TFAM files exist (used internally by emmax_kin
).
delete_files_tped()
for deleting TPED/TFAM files.
emmax_lmm()
for running GWAS with EMMAX.
system3()
, used (with ret = FALSE
) for executing EMMAX and error handling.
## Not run:
# create kinship matrix estimate (on file)
emmax_kin( name )
# read file with genio
kinship <- genio::read_matrix( name, ext = 'BN.kinf' )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.