Description Usage Arguments Details Value Author(s) References See Also Examples
Create a new CoreArray Genomic Data Structure (GDS) file.
1 | createfn.gds(filename, allow.duplicate=FALSE)
|
filename |
the file name of a new GDS file to be created |
allow.duplicate |
if |
Keep in mind that the new file may not actually be written to disk until
closefn.gds
or sync.gds
is called.
Return an object of class gds.class
:
filename |
the file name to be created |
id |
internal file id |
root |
an object of class |
readonly |
whether it is read-only or not |
Xiuwen Zheng
http://github.com/zhengxwen/gdsfmt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # cteate a GDS file
f <- createfn.gds("test.gds")
# add a list to "test.gds"
node <- add.gdsn(f, val=list(x=c(1,2), y=c("T", "B", "C"), z=TRUE))
f
# 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.