backupGdsn: Copy gds node to a backup folder within gds object

Description Usage Arguments Value Author(s) See Also Examples

Description

This function will copy a designated gdsn.class object stored inside a gds object to a backup folder (aptly named backup). If the backup folder does not exist, this will be created. This is a wrapper to copyto.gdsn which should be used if one wishes to copy a gds node to a seperate gds file.

Usage

1
backup.gdsn(gds = NULL, node)

Arguments

gds

If NULL, function will call getfolder.gdsn to find the root node. Otherwise, user can specify a separate gds.class object to copy the specified node to.

node

gdsn.class object (a gds node) which can be specified using index.gdsn

Value

A gdsobject with an additional folder called backup with supplied node within.

Author(s)

Tyler Gorrie-Stone <t.gorrie-stone@qmul.ac.uk>

See Also

copyto.gdsn

Examples

1
2
3
4
5
6
data(melon)
e <- es2gds(melon, "melon.gds")
nod <- index.gdsn(e, "betas")
backup.gdsn(gds = NULL, node = nod)
closefn.gds(e)
unlink("melon.gds")

bigmelon documentation built on Nov. 8, 2020, 7:40 p.m.