Skip to contents

Read genotype data from various formats (VCF, plink1, plink2, GDS) and return a GenotypeHandle for deferred genotype loading.

Usage

readGenotypes(path, format = NULL, ...)

# S4 method for class 'character'
readGenotypes(path, format = NULL, ...)

Arguments

path

Character, path to the genotype file.

format

Character, one of "vcf", "plink1", "plink2", "gds". If NULL, inferred from file extension.

...

Additional arguments.

Value

A GenotypeHandle object.