prep_LDAK_Kinship | R Documentation |
Takes an R matrix and saves it to disk in a format that LDAK can use
prep_LDAK_Kinship(K, kinfile, LDAK_program = "LDAK/ldak5")
K |
A matrix. Must have rownames. |
kinfile |
The base of the filename fo the kinship files to be created, including path. |
LDAK_program |
The path to the LDAK program |
The matrix is first saved as a text file (without row/column names), and then
LDAK is called by system
with option "–convert-raw" to convert it into the format
used by LDAK. Temporary files are removed. The .grn.id file contains the rownames of K
repeated in two columns.
A character with the base file name of the converted matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.