Learn R Programming

plinkFile (version 0.1.0)

gid: Infer Sample ID from a symmetric matrix

Description

Exam the row name for family and individual id.

Usage

gid(x, sep = ".")

Value

data.frame of inferred family ID and individual ID.

Arguments

x

matrix

sep

separator between FID and IID forming the sample ID

Details

For matrices without rowname, id are automatically generated.

By common practice, the row names or a matrix are in the form of [FID.]IID. Samples without family ID are given one identical to their individual ID.