grm.bin.input: grm import function

Description Usage Arguments Value

View source: R/grm.bin.input.R

Description

This function imports genetic relationship matrices (GRMs) in binary format as e.g. stored by the GCTA software command gcta64 --grm test --make-grm-bin --out test

Usage

1
grm.bin.input(file, size = 4)

Arguments

file

name of the binary grm file. No default.

size

byte size used (typically gcta uses 4). See eponymous parameter of function readBin.

Value

object of type matrix

grmsem.bin.input imports a binary GCTA GRM (.bin) file and transforms it into a symmetric matrix


grmsem documentation built on Jan. 29, 2021, 5:07 p.m.