readREL | R Documentation |
A PLINK REL (Relatedness) matrix is represented by
REL matrix in binary
FID and IID in text
A binary REL matrix is the result of PLINK --make-rel bin
readREL(pfx, fid = ".")
pfx |
prefix of the REL file set |
fid |
separate after family ID. (def=NULL, use IID only) |
relatedness matrix with row and column names set to sample ID.
pfx <- file.path(system.file("extdata", package="plinkFile"), "m20")
(readREL(pfx))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.