Learn R Programming

SNPRelate (version 1.6.4)

snpgdsClose: 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

Value

None.

Details

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

See Also

snpgdsOpen

Examples

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

genofile

# close the file
snpgdsClose(genofile)

Run the code above in your browser using DataLab