data_mdpost: Retrieve all available sample metadata from an HDF5 database.

View source: R/accessors.R

data_mdpostR Documentation

Retrieve all available sample metadata from an HDF5 database.

Description

Retrieve all available sample metadata in a dataset from an HDF5 database. Returns data in metadata dataset "dsn" contained in an h5 file located at path "dbn."

Usage

data_mdpost(dbn = "remethdb2.h5", dsn = "mdpost")

Arguments

dbn

Path to h5 HDF5 database file.

dsn

Name or group path to HDF5 dataset containing the sample metadata and learned annotations.

Value

data.frame of available sample metadata.

See Also

hread()

Examples

path <- system.file("extdata", "h5test", package = "recountmethylation")
fn <- list.files(path)
dbpath <- file.path(path, fn)
mdp <- data_mdpost(dbn = dbpath, dsn = "mdpost")
dim(mdp) # [1]  2 19

metamaden/recountmethylation documentation built on Jan. 5, 2023, 9:56 a.m.