snpgdsOpen | R Documentation |
Open a SNP GDS file
snpgdsOpen(filename, readonly=TRUE, allow.duplicate=FALSE, allow.fork=TRUE)
filename |
the file name |
readonly |
whether read-only or not |
allow.duplicate |
if |
allow.fork |
|
It is strongly suggested to call snpgdsOpen
instead of
openfn.gds
, since snpgdsOpen
will perform
internal checking for data integrality.
Return an object of class SNPGDSFileClass
.
Xiuwen Zheng
snpgdsClose
# open an example dataset (HapMap)
genofile <- snpgdsOpen(snpgdsExampleFileName())
genofile
# close the file
snpgdsClose(genofile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.