Description Usage Arguments Details Value See Also Examples
HDF5ArraySeed is a low-level helper class for representing a
pointer to an HDF5 dataset.
HDF5ArraySeed objects are not intended to be used directly. Most
end users should create and manipulate HDF5Array objects
instead. See ?HDF5Array
for more information.
1 2 | ## Constructor function:
HDF5ArraySeed(filepath, name, as.sparse=FALSE, type=NA)
|
filepath, name, as.sparse, type |
See |
No operation can be performed directly on an HDF5ArraySeed object. It first needs to be wrapped in a DelayedArray object. The result of this wrapping is an HDF5Array object (an HDF5Array object is just an HDF5ArraySeed object wrapped in a DelayedArray object).
An HDF5ArraySeed object.
HDF5Array objects.
h5ls
in the rhdf5 package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(h5vcData)
tally_file <- system.file("extdata", "example.tally.hfs5",
package="h5vcData")
library(rhdf5) # for h5ls()
h5ls(tally_file)
name <- "/ExampleStudy/16/Coverages" # name of the dataset of interest
seed1 <- HDF5ArraySeed(tally_file, name)
seed1
path(seed1)
dim(seed1)
chunkdim(seed1)
seed2 <- HDF5ArraySeed(tally_file, name, as.sparse=TRUE)
seed2
## Alternatively:
is_sparse(seed1) <- TRUE
seed1 # same as 'seed2'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.