closefn.gds | R Documentation |
Close a CoreArray Genomic Data Structure (GDS) file.
closefn.gds(gdsfile)
gdsfile |
an object of class |
For better performance, data in a GDS file are usually cached in memory.
Keep in mind that the new file may not actually be written to disk, until
closefn.gds
or sync.gds
is called. Anyway, when
R shuts down, all GDS files created or opened would be automatically closed.
None.
Xiuwen Zheng
createfn.gds
, openfn.gds
,
sync.gds
# cteate a GDS file
f <- createfn.gds("test.gds")
add.gdsn(f, "int.matrix", matrix(1:50*100, nrow=100, ncol=50))
# close the GDS file
closefn.gds(f)
# delete the temporary file
unlink("test.gds", force=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.