readIBS: Read PLINK Binary IBS matrix

View source: R/rel.R

readIBSR Documentation

Read PLINK Binary IBS matrix

Description

A PLINK IBS (Identity by State) matrix is represented by

.mibs.bin:

IBS matrix in binary

.mibs.id :

FID and IID in text

A binary IBS matrix is the result of PLINK --distance ibs bin

Usage

readIBS(pfx, fid = ".")

Arguments

pfx

prefix of the IBS file set.

fid

seperate after family ID (def=NULL, use IID only)

Value

IBS matrix with row and column names set to sample ID.

Examples

pfx <- file.path(system.file("extdata", package="plinkFile"), "m20")
(readIBS(pfx))


plinkFile documentation built on Nov. 24, 2023, 5:10 p.m.

Related to readIBS in plinkFile...