h5Class {hdf5r.Extra}R Documentation

Get the class of an HDF5 link

Description

Functions to get or check the class of an HDF5 link.

Usage

h5Class(file, name)

is.H5D(file, name)

is.H5Group(file, name)

Arguments

file

An existing HDF5 file

name

Name of a link in file

Value

h5Class returns a character specifying the class of the query HDF5 link (typically H5D, H5Group or H5File).

is.H5D and is.H5Group return a logical value.

Examples

file <- system.file("extdata", "pbmc_small.h5ad", package = "hdf5r.Extra")
h5Class(file, "X")
h5Class(file, "obs")
is.H5D(file, "X")
is.H5Group(file, "obs")


[Package hdf5r.Extra version 0.0.6 Index]