read_plink_raw: Read plink raw format as exported from PLINK2 using -recode A

View source: R/read_write_formats.R

read_plink_rawR Documentation

Read plink raw format as exported from PLINK2 using –recode A

Description

Read plink raw format as exported from PLINK2 using –recode A

Usage

read_plink_raw(filename)

Arguments

filename

Filename of exported data

Value

List with the following elements: xmat: Matrix of nsnp x nid 0/1/2 snps: SNP information (rsid and ref allele) ids: id information (ped file)


thomasbattram/usefunc documentation built on April 24, 2023, 1:46 p.m.