SNPGDSFileClass {SNPRelate} | R Documentation

## 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.

### Author(s)

Xiuwen Zheng

### See Also

`snpgdsOpen`, `snpgdsClose`

### Examples

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

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

    # close the file
    snpgdsClose(genofile)

[Package SNPRelate version 1.26.0 Index]