Learn R Programming

SNPRelate (version 1.6.4)

SNPGDSFileClass: SNPGDSFileClass

Description

A SNPGDSFileClass object provides access to a GDS file containing genome-wide SNP data. It extends the class gds.class in the gdsfmt package.

Arguments

See Also

snpgdsOpen, snpgdsClose

Examples

Run this code
# open an example dataset (HapMap)
genofile <- snpgdsOpen(snpgdsExampleFileName())
genofile

class(genofile)
# "SNPGDSFileClass" "gds.class"

# close the file
snpgdsClose(genofile)

Run the code above in your browser using DataLab