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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h5wrapper.R
\name{h5-wrapper}
\alias{h5-wrapper}
\alias{h5}
\alias{h5file}
\alias{createGroup}
\alias{openLocation}
\alias{openGroup}
\alias{createDataSet}
\alias{readDataSet}
\alias{h5close}
\alias{h5flush}
\alias{existsGroup}
\alias{is.h5file}
\alias{extendDataSet}
\alias{rbind.H5D}
\alias{cbind.H5D}
\alias{c.H5D}
\alias{h5unlink}
\alias{list.attributes}
\title{Wrapper functions to provide an \pkg{h5} compatible interface.}
\usage{
h5file(...)
createGroup(object, name, ...)
openLocation(object, name)
openGroup(object, name)
createDataSet(object, name, ...)
readDataSet(object)
h5close(object)
h5flush(object)
existsGroup(object, name)
is.h5file(name)
extendDataSet(object, dims)
\method{rbind}{H5D}(x, mat, ..., deparse.level = 1)
\method{cbind}{H5D}(x, mat, ..., deparse.level = 1)
\method{c}{H5D}(x, ...)
h5unlink(object, name)
list.attributes(object)
}
\arguments{
\item{...}{Additional parameters passed to \code{create_group} or \code{h5file}.}
\item{object}{\code{CommonFG}; Object implementing the CommonFG Interface (e.g. \code{\link{H5File}}, \code{\link{H5Group}}).}
\item{name}{Name of the group to create.}
\item{dims}{numeric; Dimension vector to which dataset should be extended.}
\item{x}{An object of class H5D; the dataset to add rows or columns to; Needs to be a matrix}
\item{mat}{The matrix to add to x}
\item{deparse.level}{Set to 1; ignored otherwise; only present as required by generic}
}
\description{
The functions listed below provide a wrapper-interface compatible to
functions specified in the \pkg{h5} package. The author(s)
have decided to deprecate \pkg{h5} and join forces and still
make the transition for \pkg{h5} users as smooth as possible.
Additionally, almost all testcases could be transferred to \pkg{hdf5r}
to improve test coverage even more.
}
\details{
Below you can find a list of all \strong{h5} functions including \strong{hdf5r} \emph{mappings}.
\describe{
\item{h5file}{Directly maps to \code{H5File$new}, see also \code{\link{H5File}}.}
\item{createGroup}{Maps to \code{object$create_group} where object implements \emph{CommonFG}.}
\item{openLocation}{Uses \code{object$open} where object implements \emph{CommonFG}.}
\item{createDataSet}{Maps to \code{object$create_dataset} where object implements \emph{CommonFG}.}
\item{readDataSet}{Maps to \code{object$read}, see also \code{\link{H5D}}.}
\item{h5close}{Maps to \code{object$close_all} for \code{\link{H5File}} and \code{object$close}
for other.}
\item{h5flush}{Maps to \code{object$flush} where object implements \emph{CommonFGDTA}.}
}
The following \strong{interfaces} are defined:
\describe{
\item{CommonFG}{Implemented by objects of class
\code{\link{H5File}} and
\code{\link{H5Group}}.}
\item{CommonFGDTA}{Implemented by objects of class
\code{\link{H5File}},
\code{\link{H5Group}},
\code{\link{H5D}},
\code{\link{H5T}} and
\code{\link{H5A}}.}
}
}
\references{
Mario Annau (2017). \emph{\pkg{h5}: Interface to the 'HDF5' Library}. R package version 0.9.9.
\url{https://github.com/mannau/h5}
}
|