Learn R Programming

GRAB (version 0.2.2)

setDenseGRM: Set up a dense GRM (only for developers)

Description

Set up a dense GRM (only for developers), other users can ignore this function

Usage

setDenseGRM(GenoFile, GenoFileIndex = NULL, subjData = NULL)

Value

no result is returned

Arguments

GenoFile

a character of genotype file. Three types of genotype files are supported: PLINK ("prefix.bed"), BGEN ("prefix.bgen"), and VCF ("prefix.vcf" or "prefix.vcf.gz").

GenoFileIndex

additional index files corresponding to the "GenoFile". If Null (default), the same prefix as GenoFile is used. PLINK: c("prefix.bim", "prefix.fam"), BGEN: c("prefix.bgi"), and VCF: c("prefix.vcf.tbi") or c("prefix.vcf.gz.tbi").

subjData

a character vector of subject IDs. Its order should be the same as the subjects order in the formula and data.

Examples

Run this code
# Check ?getDenseGRM() for an example.

Run the code above in your browser using DataLab