gdsToMatrix: Import genotypes in GDS file to a matrix

Description Usage Arguments Value Author(s)

View source: R/import_data.R

Description

Open GDS file (created with SNPRelate::snpgdsVCF2GDS) into R and convert it into a matrix of variant positions and matrix of allele dosage (0,1,2)

Usage

1
gdsToMatrix(gds_file)

Arguments

file

Path to the GDS file.

Value

List containing snpspos and genotypes matrix.

Author(s)

Kaur Alasoo


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.