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

Description Usage Arguments Value See Also Examples

View source: R/accessors.R

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

1
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

1
2
3
4
5
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

recountmethylation documentation built on Nov. 8, 2020, 4:59 p.m.