Functions to Create/Open DataSets in CommonFG objects
Although DataSet objects can implicitly be created using
subsetting operators (see CommonFG) h5 implements more
explicit functions (used by subsetting operators under the hood) to create
and open DataSets.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | createDataSet(.Object, datasetname, data, type, dimensions, chunksize = -1,
maxdimensions = NA_integer_, compression = 4L, size = -1)
## S4 method for signature
## 'CommonFG,character,missing,character,ANY,ANY,ANY,ANY,ANY'
createDataSet(.Object,
datasetname, type, dimensions, chunksize, maxdimensions, compression, size)
## S4 method for signature
## 'CommonFG,character,ANY,missing,missing,ANY,ANY,ANY,numeric'
createDataSet(.Object,
datasetname, data, chunksize, maxdimensions, compression, size)
## S4 method for signature
## 'CommonFG,character,ANY,missing,missing,ANY,ANY,ANY,missing'
createDataSet(.Object,
datasetname, data, chunksize, maxdimensions, compression)
openDataSet(.Object, datasetname, type)
## S4 method for signature 'CommonFG,character'
openDataSet(.Object, datasetname, type)
list.datasets(.Object, path = "/", full.names = TRUE, recursive = TRUE,
follow.links = FALSE)
## S4 method for signature 'CommonFG'
list.datasets(.Object, path = "/", full.names = TRUE,
recursive = TRUE, follow.links = FALSE)
existsDataSet(.Object, datasetname)
## S4 method for signature 'CommonFG,character'
existsDataSet(.Object, datasetname)
|
.Object |
CommonFG; S4 object of class |
datasetname |
character; HDF5 DataSet name to be used. |
data |
object; Object to be stored in HDF5 file, can be either of type vector, matrix or array. |
type |
character; Character specifying data type, can be either one of:
|
dimensions |
integer; Dimensions of dataset to be created. |
chunksize |
integer; Chunksize to be used for dataset. If set to
|
maxdimensions |
integer; Maximum dimensions used for dataset, |
compression |
integer; Default GZIP compression level to be used, from
0 (no compression) to 9 (maximum compression), defaults to |
size |
numeric; Character length for fixed-length string data types. Default value of -1 creates variable-length strings. |
path |
character; Relative path to .Object. |
full.names |
character; Specify if absolute DataSet path names should be returned. |
recursive |
logical; Specify DatSets should be retrieved recursively from .Object. |
follow.links |
logical; Specify if symbolic links should be followed (only applies if recursive = TRUE). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.