snpgdsClose {SNPRelate} | R Documentation

## Close the SNP GDS File

### Description

Close the SNP GDS file

### Usage

    snpgdsClose(gdsobj)

### Arguments

`gdsobj` | an object of class `SNPGDSFileClass`, a SNP GDS file

### Details

It is suggested to call `snpgdsClose` instead of `closefn.gds`.

### Value

None.

### Author(s)

Xiuwen Zheng

### See Also

`snpgdsOpen`

### Examples

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

    genofile

    # close the file
    snpgdsClose(genofile)

[Package SNPRelate version 1.26.0 Index]